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
Hi @xeoneux!
I'm using next-dark-mode with nextjs + material UI. I'm getting those errors from the server:
Not setting "autoMode" cookie. Response has finished.
You should set cookie before res.send()
Not setting "darkMode" cookie. Response has finished.
You should set cookie before res.send()
Implementation:
Any idea about how I could solve that?
The text was updated successfully, but these errors were encountered:
Hi @dervaux, thanks for reporting this, @nicogulo were you able to solve this?
Also, what happens if you do not use the useDarkMode hook inside the MyApp function and simply use the darkMode value passed on to it? @dervaux
Hi @xeoneux!
I'm using
next-dark-mode
with nextjs + material UI. I'm getting those errors from the server:Implementation:
Any idea about how I could solve that?
The text was updated successfully, but these errors were encountered: