From 6b85567bc63135e5de105d7d83234dbba40e04a4 Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Mon, 5 Feb 2024 18:45:06 +0100 Subject: [PATCH] Provide theme to top level ErrorBoundary If the theme is not provided then the App's ErrorBoundary will render white text on white background, and vice versa for black. --- packages/web_ui/src/components/App.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/web_ui/src/components/App.tsx b/packages/web_ui/src/components/App.tsx index 02e9c726..e4dcfdc6 100644 --- a/packages/web_ui/src/components/App.tsx +++ b/packages/web_ui/src/components/App.tsx @@ -104,16 +104,16 @@ export default function App(props: AppProps) { } return ( - - + + {page} - - + + ); }