Browse Source

compilation fix

amenpunk 2 years ago
parent
commit
01f341564a

+ 2 - 4
src/Components/Navigation/listItems.js

@@ -84,10 +84,8 @@ export const MainListItems = (props) =>  {
84 84
     )
85 85
 };
86 86
 
87
-export const UserListItems = (props) =>  {
88
-
89
-    const [open, setOpen] = React.useState(false);
90
-
87
+export const UserListItems = (_props) =>  {
88
+    // const [open, setOpen] = React.useState(false);
91 89
     return(
92 90
         <List>
93 91
             <ListSubheader inset>MENÚ</ListSubheader>

+ 2 - 2
src/Components/Test/Cleaver/Question.jsx

@@ -1,5 +1,5 @@
1 1
 import * as React from 'react';
2
-import Box from '@mui/material/Box';
2
+// import Box from '@mui/material/Box';
3 3
 import Card from '@mui/material/Card';
4 4
 import CardActions from '@mui/material/CardActions';
5 5
 import CardContent from '@mui/material/CardContent';
@@ -11,7 +11,7 @@ import Avatar from '@mui/material/Avatar';
11 11
 import RadioGroup from '@mui/material/RadioGroup';
12 12
 import FormControlLabel from '@mui/material/FormControlLabel';
13 13
 import FormControl from '@mui/material/FormControl';
14
-import FormLabel from '@mui/material/FormLabel';
14
+// import FormLabel from '@mui/material/FormLabel';
15 15
 import Checkbox from '@mui/material/Checkbox';
16 16
 import { deepPurple } from '@mui/material/colors';
17 17
 const label = { inputProps: { 'aria-label': 'Checkbox demo' } };

+ 1 - 1
src/Pages/Pruebas/Cleaver.jsx

@@ -38,7 +38,7 @@ export function Cleaver() {
38 38
     return () => {
39 39
       clearInterval(timer);
40 40
     };
41
-  }, []);
41
+  }, [token]);
42 42
 
43 43
 
44 44
   React.useEffect(() => {