[GH-3947]: Close confirmation dialog box on delete (#4031)

This commit is contained in:
Varun Tiwari 2022-10-18 19:26:14 +05:30 committed by GitHub
parent 6f0c34ddd1
commit 4b07ea52f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -127,6 +127,7 @@ const CalendarFullView = (props: Props): JSX.Element|null => {
return
}
mutator.deleteBlock(cardItem, 'delete card')
setShowConfirmationDialogBox(false)
}, [cardItem, board.id])
const confirmDialogProps: ConfirmationDialogBoxProps = useMemo(() => {