Skip to content

Commit

Permalink
#3097 cleaned up modal
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaryan1203 committed Jan 2, 2025
1 parent ff47601 commit 0c98536
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const AdminChecklist: React.FC<{ parentChecklists: Checklist[]; checklist
<Typography fontSize="2em" fontWeight="bold" color="black">
{checklistName} Checklist
</Typography>
<Grid display="flex" alignItems="center" gap={2}>
<Grid display="flex" alignItems="center">
<IconButton onClick={() => setTasksToDelete(parentChecklists)}>
<RemoveCircleOutlineIcon sx={{ color: 'black' }} />
</IconButton>
Expand Down Expand Up @@ -101,7 +101,7 @@ export const AdminChecklist: React.FC<{ parentChecklists: Checklist[]; checklist
open={!!tasksToDelete}
onHide={() => setTasksToDelete(null)}
formId="delete-task-form"
dataType="Task"
dataType="Checklist"
onFormSubmit={() => handleDelete()}
/>
)}
Expand Down

0 comments on commit 0c98536

Please sign in to comment.