From 593dd3bdf3d0ac3b5c66a7690803bd21f732710b Mon Sep 17 00:00:00 2001 From: litruv Date: Sun, 1 Nov 2026 19:55:26 +1100 Subject: [PATCH] Mount the dialog host at the app root so prompts resolve before the client route renders. [skip build] --- src/app/pages/App.tsx | 2 ++ src/app/pages/client/ClientNonUIFeatures.tsx | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/pages/App.tsx b/src/app/pages/App.tsx index aa60ede6..f08d67f6 100644 --- a/src/app/pages/App.tsx +++ b/src/app/pages/App.tsx @@ -5,6 +5,7 @@ import { RouterProvider } from 'react-router-dom'; import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; import { dialogStore } from '../state/dialog'; +import { DialogHost } from '../components/DialogHost'; import { ClientConfigLoader } from '../components/ClientConfigLoader'; import { ClientConfigProvider } from '../hooks/useClientConfig'; import { ConfigConfigError, ConfigConfigLoading } from './ConfigConfig'; @@ -38,6 +39,7 @@ function App() { + diff --git a/src/app/pages/client/ClientNonUIFeatures.tsx b/src/app/pages/client/ClientNonUIFeatures.tsx index 7bb9002e..c2d78804 100644 --- a/src/app/pages/client/ClientNonUIFeatures.tsx +++ b/src/app/pages/client/ClientNonUIFeatures.tsx @@ -61,7 +61,6 @@ import { materializeSharedFile, } from '../../utils/androidShare'; import { UpdatesDialogHost } from '../../components/updates-dialog'; -import { DialogHost } from '../../components/DialogHost'; /** * Applies the selected emoji style font to the document. @@ -702,7 +701,6 @@ export function ClientNonUIFeatures({ children }: ClientNonUIFeaturesProps) { {children} - ); }