Fixes to edit profile modal

This commit is contained in:
Paul Frazee
2022-11-28 14:51:49 -06:00
parent 53c55b2d7a
commit 2ac28aa2de
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ export const Modal = observer(function Modal() {
} else {
bottomSheetRef.current?.close()
}
}, [store.shell.isModalActive, bottomSheetRef])
}, [store.shell.isModalActive, bottomSheetRef, store.shell.activeModal?.name])
let snapPoints: (string | number)[] = CLOSED_SNAPPOINTS
let element