removed some pictures and adjust chat background
@@ -30,7 +30,7 @@ const useAuth = () => {
|
|||||||
setIsAuth(true);
|
setIsAuth(true);
|
||||||
history.push("/chat");
|
history.push("/chat");
|
||||||
} catch (err) {
|
} 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 Avatar from "@material-ui/core/Avatar";
|
||||||
import { green } from "@material-ui/core/colors";
|
import { green } from "@material-ui/core/colors";
|
||||||
|
|
||||||
|
import whatsBackground from "../../../../Images/wa-background.png";
|
||||||
|
|
||||||
import api from "../../../../util/api";
|
import api from "../../../../util/api";
|
||||||
import openSocket from "socket.io-client";
|
import openSocket from "socket.io-client";
|
||||||
|
|
||||||
@@ -74,7 +76,7 @@ const useStyles = makeStyles(theme => ({
|
|||||||
},
|
},
|
||||||
|
|
||||||
messagesList: {
|
messagesList: {
|
||||||
backgroundImage: 'url("http://localhost:8080/public/wa-background.png")',
|
backgroundImage: `url(${whatsBackground})`,
|
||||||
display: "flex",
|
display: "flex",
|
||||||
flexDirection: "column",
|
flexDirection: "column",
|
||||||
flexGrow: 1,
|
flexGrow: 1,
|
||||||
|
|||||||