add update/delete/edit/add deck functionality

This commit is contained in:
2023-10-09 13:25:00 +02:00
parent 7d0ed69481
commit 065e23239e
5 changed files with 112 additions and 10 deletions

View File

@@ -29,6 +29,7 @@ export const DeckDialog = ({
})
const onSubmit = handleSubmit(data => {
onConfirm(data)
dialogProps.onOpenChange?.(false)
reset()
})
const handleCancel = () => {