Skip to content

Error: Hydration failed because the initial UI does not match what was rendered on the server. Warning: Expected server HTML to contain a matching <p> in <svg>. Error: There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering. #31

@bibekrawat2020

Description

@bibekrawat2020

When I add in Navbar.tsx by following video from youtube and start local server there occurs 3 errors:

        <div className="container max-w-7xl h-full mx-auto flex items-center justify-between gap-2">
            {/* { logo } */}
            <Link href='/' className="flex gap-2 items-center">
                <p className="hidden text-zinc-700 text-sm font-medium md:block">Breadit</p>
            </Link>
        </div>

The error above occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions