Fixes to edit profile modal

This commit is contained in:
Paul Frazee 2022-11-28 14:51:49 -06:00
parent 39aaa13468
commit bf7b0be23d
2 changed files with 8 additions and 2 deletions

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