Browse Source

fix build

amenpunk 2 years ago
parent
commit
01a88fda89
1 changed files with 7 additions and 5 deletions
  1. 7 5
      src/Components/User.jsx

+ 7 - 5
src/Components/User.jsx

5
     MoveToInbox as InboxIcon
5
     MoveToInbox as InboxIcon
6
 } from '@mui/icons-material'
6
 } from '@mui/icons-material'
7
 
7
 
8
-import { Outlet, useNavigate } from "react-router-dom";
8
+import { 
9
+    Outlet, 
10
+    // useNavigate 
11
+} from "react-router-dom";
9
 
12
 
10
 import { 
13
 import { 
11
     AppBar, Box, CssBaseline, Divider, Drawer,
14
     AppBar, Box, CssBaseline, Divider, Drawer,
12
     IconButton,List, ListItem, ListItemButton, ListItemIcon, ListItemText,
15
     IconButton,List, ListItem, ListItemButton, ListItemIcon, ListItemText,
13
-    Button,Toolbar, Typography, Container
16
+    Toolbar, Typography, Container
14
 } from '@mui/material'
17
 } from '@mui/material'
15
 
18
 
16
 import Footer from "../Components/Footer.js";
19
 import Footer from "../Components/Footer.js";
17
 
20
 
18
-import useAuth from '../Auth/useAuth';
21
+// import useAuth from '../Auth/useAuth';
19
 
22
 
20
 
23
 
21
 const drawerWidth = 240;
24
 const drawerWidth = 240;
29
         setMobileOpen(!mobileOpen);
32
         setMobileOpen(!mobileOpen);
30
     };
33
     };
31
 
34
 
32
-    const auth = useAuth();
35
+    // const auth = useAuth();
33
 
36
 
34
     const drawer = (
37
     const drawer = (
35
         <div>
38
         <div>
132
                 </Container>
135
                 </Container>
133
 
136
 
134
 
137
 
135
-
136
             </Box>
138
             </Box>
137
         </Box>
139
         </Box>
138
     );
140
     );