Next.js Discord

Discord Forum

Hydration Error - How to fix it?

Unanswered
German Wirehaired Pointer posted this in #help-forum
Open in Discord
German Wirehaired PointerOP
I created a SectionsProvider to use in the PinSections because I would like to pass the pinnedPanelClass to each component from the RenderComponent array but for some reason, I'm getting 3 Hydration errors.

If you open the CodeSandBox you'll see the Hydrations errors.
Code: https://codesandbox.io/p/sandbox/strange-paper-2ntjm4

Is there another approach I should take here? do I have a typo I don't see?

2 Replies

changed it to this and the error is gone
im not sure if this works with your case. i never used gsap