Implement back button fix for all places in the app (#3434)
parent
a1ac84687f
commit
731d94b973
|
@ -39,7 +39,8 @@ export function useDialogControl(): DialogOuterProps['control'] {
|
|||
control.current.open()
|
||||
},
|
||||
close: cb => {
|
||||
control.current.close(cb)
|
||||
control.current.close()
|
||||
cb?.()
|
||||
},
|
||||
}),
|
||||
[id, control],
|
||||
|
|
Loading…
Reference in New Issue