From 5b7bd1ebb04c70deab7b7008f79c8807f3428586 Mon Sep 17 00:00:00 2001 From: remco Date: Wed, 1 Jul 2026 16:02:01 +0200 Subject: [PATCH] fix: pre-hydration navbar color to prevent flash, fix hydration mismatch in color picker --- src/app/layout.tsx | 2 +- src/components/navbar-color-picker.tsx | 19 +++++++++---------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 4ea02b81..26fcc374 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -42,7 +42,7 @@ export default async function RootLayout({ children }: { children: ReactNode }) {/* Apply the saved/default theme before first paint to avoid a flash. */}