You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We tried to use the toggle in our Next.JS project, but We got an "Document not defined" error. This has happened duo to the emotion package, which using Document.
I have forked the package and added a fix to the issue, By removing emotion, and using css only.
I hope that PR will help that package to grow and be more useful for those preferring SSR!
The text was updated successfully, but these errors were encountered:
as someone who had the same problem its so good to see someone tries to fix it, its such a cool package that I think its a must for everything with dark mod
Hi!
We tried to use the toggle in our Next.JS project, but We got an "Document not defined" error. This has happened duo to the emotion package, which using Document.
I have forked the package and added a fix to the issue, By removing emotion, and using css only.
I hope that PR will help that package to grow and be more useful for those preferring SSR!
The text was updated successfully, but these errors were encountered: