diff --git a/src/routes/contacts/index.js b/src/routes/contacts/index.js index f87e9e7d..8411bf20 100644 --- a/src/routes/contacts/index.js +++ b/src/routes/contacts/index.js @@ -3,7 +3,7 @@ import { NavLink, useParams } from "react-router-dom"; import { useSelector } from "react-redux"; import Search from "../../common/component/Search"; import Contact from "../../common/component/Contact"; -import CurrentUser from "../../common/component/CurrentUser"; +// import CurrentUser from "../../common/component/CurrentUser"; import Profile from "../../common/component/Profile"; import StyledWrapper from "./styled"; @@ -29,7 +29,7 @@ export default function ContactsPage() { })} - + {/* */} {user_id && (
diff --git a/src/routes/home/index.js b/src/routes/home/index.js index 2601d440..0986b9ff 100644 --- a/src/routes/home/index.js +++ b/src/routes/home/index.js @@ -26,7 +26,7 @@ export default function HomePage() { loginUid: store.authData.uid, }; }); - const { data, loading } = usePreload(); + const { loading } = usePreload(); // console.log("index loading", loading, ready); if (loading || !ready) { return ; @@ -51,31 +51,19 @@ export default function HomePage() { chat icon - {/* {menuExpand && ( - Chat - )} */} contact icon - {/* {menuExpand && ( - - Contacts - - )} */} folder icon - {/* {menuExpand && ( - Files - )} */}
- {/* */}