fix: onCancel -> onClosed
This commit is contained in:
parent
41962ef380
commit
022d5182d7
@ -67,7 +67,7 @@ const { onBeforeClose, markInitialized, resetInitialized } = useBeforeCloseDiff(
|
||||
|
||||
const [BasicDrawer, drawerApi] = useVbenDrawer({
|
||||
onBeforeClose,
|
||||
onCancel: handleClosed,
|
||||
onClosed: handleClosed,
|
||||
onConfirm: handleConfirm,
|
||||
async onOpenChange(isOpen) {
|
||||
if (!isOpen) {
|
||||
|
Loading…
Reference in New Issue
Block a user