sdy

update Chat Container

......@@ -9,6 +9,7 @@ import {
} from "./ChatQueries";
import useInput from "../../Hooks/useInput";
import { toast } from "react-toastify";
import defaultProfile from "../imgs/defaultProfile.jpg";
export default withRouter(({ location }) => {
const { pathname } = location;
......@@ -34,6 +35,10 @@ export default withRouter(({ location }) => {
variables: { roomId: roomNum },
});
if (messageList !== undefined) {
messageList.seeAllMessage.map((e) => {
if (e.sender.avatarUrl === "") {
}
});
messageArray = messageList;
}
......