Skip to content

Commit

Permalink
fix VIL-577 & VIL-576
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-pages committed Sep 10, 2024
1 parent 3157195 commit e36dae9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/mon-compte/NotifCheckbox.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { useSnackbar } from 'notistack';
import React, { useContext } from 'react';

import SendIcon from '@mui/icons-material/Send';
import Button from '@mui/material/Button';
import Checkbox from '@mui/material/Checkbox';

Expand Down Expand Up @@ -58,7 +57,7 @@ export const NotifCheckbox = () => {
// };

const mappingCheckbox = [
{ label: 'Commentaire sur une de vos publications', checked: commentChecked, handle: handleCommentChecked },
{ label: 'Commentaire d’une classe sur une de vos publications', checked: commentChecked, handle: handleCommentChecked },
// ---------- Uncomment the following lines to add more checkboxes ----------
// { label: 'Réaction à une de vos publications', checked: reactionChecked, handle: handleReactionChecked },
// { label: 'Publication d’une classe', checked: publicationFromAClassChecked, handle: handlePublicationFromAClassChecked },
Expand Down Expand Up @@ -91,7 +90,7 @@ export const NotifCheckbox = () => {
</div>
))}

<Button size="small" variant="contained" onClick={handleChoice} style={{ margin: '1rem 0.5rem' }} endIcon={<SendIcon />}>
<Button size="small" variant="contained" onClick={handleChoice} style={{ margin: '1rem 0.5rem' }}>
Enregister mes choix
</Button>
</div>
Expand Down

0 comments on commit e36dae9

Please sign in to comment.