Open bibekrawat2020 opened 8 months ago
well since he used server component for the navbar so you can't use useEffect to solve this issue one way to do that would be taking everything from the navbar and create a new component, pass session over there as a prop and in the old navbar component use useEffect to remove the warning
or you can use supressHydrationError (idk why it's not working for react 18+) 😞
When I add in Navbar.tsx by following video from youtube and start local server there occurs 3 errors:
The error above occurs.