|
@@ -5,17 +5,20 @@ import {
|
|
|
MoveToInbox as InboxIcon
|
|
MoveToInbox as InboxIcon
|
|
|
} from '@mui/icons-material'
|
|
} from '@mui/icons-material'
|
|
|
|
|
|
|
|
-import { Outlet, useNavigate } from "react-router-dom";
|
|
|
|
|
|
|
+import {
|
|
|
|
|
+ Outlet,
|
|
|
|
|
+ // useNavigate
|
|
|
|
|
+} from "react-router-dom";
|
|
|
|
|
|
|
|
import {
|
|
import {
|
|
|
AppBar, Box, CssBaseline, Divider, Drawer,
|
|
AppBar, Box, CssBaseline, Divider, Drawer,
|
|
|
IconButton,List, ListItem, ListItemButton, ListItemIcon, ListItemText,
|
|
IconButton,List, ListItem, ListItemButton, ListItemIcon, ListItemText,
|
|
|
- Button,Toolbar, Typography, Container
|
|
|
|
|
|
|
+ Toolbar, Typography, Container
|
|
|
} from '@mui/material'
|
|
} from '@mui/material'
|
|
|
|
|
|
|
|
import Footer from "../Components/Footer.js";
|
|
import Footer from "../Components/Footer.js";
|
|
|
|
|
|
|
|
-import useAuth from '../Auth/useAuth';
|
|
|
|
|
|
|
+// import useAuth from '../Auth/useAuth';
|
|
|
|
|
|
|
|
|
|
|
|
|
const drawerWidth = 240;
|
|
const drawerWidth = 240;
|
|
@@ -29,7 +32,7 @@ export function User(props) {
|
|
|
setMobileOpen(!mobileOpen);
|
|
setMobileOpen(!mobileOpen);
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
- const auth = useAuth();
|
|
|
|
|
|
|
+ // const auth = useAuth();
|
|
|
|
|
|
|
|
const drawer = (
|
|
const drawer = (
|
|
|
<div>
|
|
<div>
|
|
@@ -132,7 +135,6 @@ export function User(props) {
|
|
|
</Container>
|
|
</Container>
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
</Box>
|
|
</Box>
|
|
|
</Box>
|
|
</Box>
|
|
|
);
|
|
);
|