diff --git a/src/app/layout.js b/src/app/layout.js index 8e9b7609..a6534188 100644 --- a/src/app/layout.js +++ b/src/app/layout.js @@ -32,6 +32,14 @@ export default function RootLayout({ children }) { return ( + {/* Apply persisted theme before first paint so a reload does not flash the + default (light) theme before the client store hydrates. Mirrors the + zustand-persist "theme" key and the `dark` class applyTheme() sets. */} +