portfolio icon indicating copy to clipboard operation
portfolio copied to clipboard

fixed a small bug of "Server Error - TypeError: t.default.createContext is not a function" in Approach component.

Open eclipssed opened this issue 9 months ago • 0 comments

I don't if you faced this issue or not but in the Approach component we are using animations from framer motion which requires client side rendering but the component is by default server side rendered and i got this issue "Server Error - TypeError: t.default.createContext is not a function ". When I used 'use client' on the top of the component then it no longer gave me the error. I hope this helps.

eclipssed avatar May 25 '24 14:05 eclipssed