removed some pictures and adjust chat background
@@ -30,7 +30,7 @@ const useAuth = () => {
|
||||
setIsAuth(true);
|
||||
history.push("/chat");
|
||||
} catch (err) {
|
||||
console.log(err);
|
||||
alert(err);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 424 KiB |
|
Before Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 6.7 KiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 202 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 374 B |
|
Before Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 651 B |
@@ -15,6 +15,8 @@ import MoreVertIcon from "@material-ui/icons/MoreVert";
|
||||
import Avatar from "@material-ui/core/Avatar";
|
||||
import { green } from "@material-ui/core/colors";
|
||||
|
||||
import whatsBackground from "../../../../Images/wa-background.png";
|
||||
|
||||
import api from "../../../../util/api";
|
||||
import openSocket from "socket.io-client";
|
||||
|
||||
@@ -74,7 +76,7 @@ const useStyles = makeStyles(theme => ({
|
||||
},
|
||||
|
||||
messagesList: {
|
||||
backgroundImage: 'url("http://localhost:8080/public/wa-background.png")',
|
||||
backgroundImage: `url(${whatsBackground})`,
|
||||
display: "flex",
|
||||
flexDirection: "column",
|
||||
flexGrow: 1,
|
||||
|
||||