Fix to native modals

zio/stable
Paul Frazee 2023-02-27 10:54:44 -06:00
parent fb4e28e713
commit be121da134
1 changed files with 1 additions and 1 deletions

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],
)