Fix to native modals
parent
fb4e28e713
commit
be121da134
|
@ -31,7 +31,7 @@ export const ModalsContainer = observer(function ModalsContainer() {
|
||||||
}
|
}
|
||||||
|
|
||||||
const activeModal = React.useMemo(
|
const activeModal = React.useMemo(
|
||||||
() => store.shell.activeModals.at(-1),
|
() => store.shell.activeModals[store.shell.activeModals.length - 1],
|
||||||
[store.shell.activeModals],
|
[store.shell.activeModals],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue