diff --git a/apps/www/content/docs/dark-mode/next.mdx b/apps/www/content/docs/dark-mode/next.mdx index 741d8494654..ff5af54b0a3 100644 --- a/apps/www/content/docs/dark-mode/next.mdx +++ b/apps/www/content/docs/dark-mode/next.mdx @@ -34,6 +34,7 @@ export function ThemeProvider({ ### Wrap your root layout Add the `ThemeProvider` to your root layout. +Make sure to include `suppressHydrationWarning` as a property on your `` tag. ```tsx {1,9-11} title="app/layout.tsx" import { ThemeProvider } from "@/components/theme-provider"