From da2a966c541848e9bac3eedf2809fc6adca8e575 Mon Sep 17 00:00:00 2001 From: Jimi <76010791+Jimichelle@users.noreply.github.com> Date: Thu, 19 Dec 2024 13:49:59 +0100 Subject: [PATCH] Update next.mdx --- apps/www/content/docs/dark-mode/next.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/www/content/docs/dark-mode/next.mdx b/apps/www/content/docs/dark-mode/next.mdx index 741d8494654..58bc22bd165 100644 --- a/apps/www/content/docs/dark-mode/next.mdx +++ b/apps/www/content/docs/dark-mode/next.mdx @@ -33,7 +33,7 @@ export function ThemeProvider({ ### Wrap your root layout -Add the `ThemeProvider` to your root layout. +Add the `ThemeProvider` to your root layout and the `suppressHydrationWarning` to the html tag. ```tsx {1,9-11} title="app/layout.tsx" import { ThemeProvider } from "@/components/theme-provider"