Reference error: window is not defined
Unanswered
piscopancer posted this in #help-forum
what's funny about this error, is that it occurs on every page of my project. Where can this issue ahve roots?
Changes I did in this version:
* added valtio - global storage, with
* added metadata for every Layout for better SEO.
I tried erasing valtio and metadata - still getting this same error.
also, when I comment down
Changes I did in this version:
* added valtio - global storage, with
use client ofc* added metadata for every Layout for better SEO.
I tried erasing valtio and metadata - still getting this same error.
also, when I comment down
robots.ts and sitemap.ts, I get the list (check the screenshot) of not 5 but 7 erroring files.4 Replies
omg It must be Lenis!!!
I cannot export lenis instance in nextjs, it can only be created inside the useeffect goddaaaamn
I hate this library