Implement back button fix for all places in the app (#3434)

This commit is contained in:
Hailey 2024-04-08 09:09:40 -07:00 committed by GitHub
parent a1ac84687f
commit 731d94b973
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,7 +39,8 @@ export function useDialogControl(): DialogOuterProps['control'] {
control.current.open() control.current.open()
}, },
close: cb => { close: cb => {
control.current.close(cb) control.current.close()
cb?.()
}, },
}), }),
[id, control], [id, control],