fix(editor): Task 8 round 2, cascade closes the sheet
This commit is contained in:
1 parent
579d8afff4
commit
791fc03a0d
7 files changed
+205
-10
No files matched your search
@@ -42,7 +42,7 @@ function Asking(props: {
|
||||
|
||||
function Editor() {
|
||||
const nav = useEditorNavigation('findings')
|
||||
useLeaveConfirm(nav.guards)
|
||||
useLeaveConfirm(nav)
|
||||
return (
|
||||
<>
|
||||
<Layer guards={nav.guards} layer="finding" />
|
||||
|
||||
Reference in new issue
Block a user