amenpunk 3 anni fa
parent
commit
01a88fda89
1 ha cambiato i file con 7 aggiunte e 5 eliminazioni
  1. 7 5
      src/Components/User.jsx

+ 7 - 5
src/Components/User.jsx

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