diff --git a/renderer/src/ui/modals/stack.jsx b/renderer/src/ui/modals/stack.jsx index 28613e5a..01c19b9d 100644 --- a/renderer/src/ui/modals/stack.jsx +++ b/renderer/src/ui/modals/stack.jsx @@ -71,6 +71,6 @@ export default function ModalStack() { return removeModal(modals[modals.length - 1].modalKey)} /> - {modals.length && removeModal(modals[modals.length - 1].modalKey)} />} + {!!modals.length && removeModal(modals[modals.length - 1].modalKey)} />} ; } \ No newline at end of file