|
@@ -1,5 +1,4 @@
|
|
|
import * as React from 'react';
|
|
import * as React from 'react';
|
|
|
-
|
|
|
|
|
import { Remove as RemoveIcon, Add as AddIcon } from '@mui/icons-material';
|
|
import { Remove as RemoveIcon, Add as AddIcon } from '@mui/icons-material';
|
|
|
import {
|
|
import {
|
|
|
Card,CardContent,Avatar,Checkbox,List,Tooltip,Fade,
|
|
Card,CardContent,Avatar,Checkbox,List,Tooltip,Fade,
|
|
@@ -60,7 +59,6 @@ function CheckboxesGroup(props) {
|
|
|
B: resp[index] ? resp[index].B : 0
|
|
B: resp[index] ? resp[index].B : 0
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- // let final = Object.assign(resp,temp);
|
|
|
|
|
dispatch(setResponse(temp))
|
|
dispatch(setResponse(temp))
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
@@ -75,7 +73,6 @@ function CheckboxesGroup(props) {
|
|
|
A: resp[index] ? resp[index].A : 0
|
|
A: resp[index] ? resp[index].A : 0
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- // let final = Object.assign(resp,temp)
|
|
|
|
|
dispatch(setResponse(temp))
|
|
dispatch(setResponse(temp))
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
@@ -84,9 +81,7 @@ function CheckboxesGroup(props) {
|
|
|
<List sx={{ width: '100%', bgcolor: 'background.paper' }}>
|
|
<List sx={{ width: '100%', bgcolor: 'background.paper' }}>
|
|
|
|
|
|
|
|
{quiz.map((value) => {
|
|
{quiz.map((value) => {
|
|
|
- // console.log("QUIZ VALUE: ", value)
|
|
|
|
|
const labelId = `checkbox-list-label-${value.id}`;
|
|
const labelId = `checkbox-list-label-${value.id}`;
|
|
|
-
|
|
|
|
|
return (
|
|
return (
|
|
|
<ListItem key={value.id}>
|
|
<ListItem key={value.id}>
|
|
|
<ListItemButton dense>
|
|
<ListItemButton dense>
|