Dialog solution

This commit is contained in:
Eric Bailey
2024-02-08 13:15:14 -06:00
parent 15d0f2e90b
commit 4edbcd2b94
11 changed files with 154 additions and 105 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ import {useIsDrawerOpen, useSetDrawerOpen} from '#/state/shell'
import {useCloseAllActiveElements} from '#/state/util'
import {useWebBodyScrollLock} from '#/lib/hooks/useWebBodyScrollLock'
import {Outlet as PortalOutlet} from '#/components/Portal'
import {ReportDialog} from '#/components/dialogs/ReportDialog'
import {GlobalDialog} from '#/components/dialogs'
function ShellInner() {
const isDrawerOpen = useIsDrawerOpen()
@@ -43,7 +43,7 @@ function ShellInner() {
<ModalsContainer />
<Lightbox />
<ReportDialog />
<GlobalDialog />
<PortalOutlet />
{!isDesktop && isDrawerOpen && (