I have created a simple wave effect in reactjs using react-three-fiber and its working completely fine.
However i am trying to implement same thing in nextjs but its not having the wave effect. It's same exact code but its still not showing wave effect.
I'm not able to figure out the error in code.