Fix to native modals

This commit is contained in:
Paul Frazee 2023-02-27 10:54:44 -06:00
parent fb4e28e713
commit be121da134

View file

@ -31,7 +31,7 @@ export const ModalsContainer = observer(function ModalsContainer() {
}
const activeModal = React.useMemo(
() => store.shell.activeModals.at(-1),
() => store.shell.activeModals[store.shell.activeModals.length - 1],
[store.shell.activeModals],
)