Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(www): mention to add suppressHydrationWarning in the dark mode docs for next #5879

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 20, 2024

  1. docs(www): mention to add suppressHydrationWarning in the dark mode d…

    …ocs for next
    
    User have repeatedly run into hydration errors because they don't read the next-themes readme and don't pay attention to the shadcn/ui docs and miss that the `suppressHydrationWarning` prop must be added.
    
    This commit mentions this explicitly and highlights the line in the snippet (as well as fixing the previously wrong highlighting).
    ChristianIvicevic authored Nov 20, 2024
    Configuration menu
    Copy the full SHA
    c41eee0 View commit details
    Browse the repository at this point in the history