diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 1455f495..ba0a4bd7 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -19,7 +19,7 @@ function MainLayout() {
+ const [, , componentMounted] = useDarkTheme(); + if (!componentMounted) { + return
; } return (