diff --git a/src/ui/routes/MainRoute.tsx b/src/ui/routes/MainRoute.tsx index 7eb007f..4cc67eb 100644 --- a/src/ui/routes/MainRoute.tsx +++ b/src/ui/routes/MainRoute.tsx @@ -23,8 +23,8 @@ import InboxIcon from "@material-ui/icons/Inbox"; import NotificationsIcon from "@material-ui/icons/Notifications"; import React from "react"; import { BrowserRouter as Router, Route, Switch } from "react-router-dom"; - -const drawerWidth = 240; +import { AccountHelper } from "../../helpers/AccountHelper"; +import CloseSharpIcon from "@material-ui/icons/CloseSharp"; const useStyles = makeStyles((theme) => ({ root: { @@ -42,7 +42,6 @@ const useStyles = makeStyles((theme) => ({ }, appBar: { zIndex: theme.zIndex.drawer + 1, - marginLeft: drawerWidth, width: `100%`, color: "white", }, @@ -109,7 +108,11 @@ export function MainRoute() { const classes = useStyles(); return ( - + Comunic Admin - - - - + + + {AccountHelper.currentAccount.name} +
+ {AccountHelper.currentAccount.email} +
+ + +