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
I am having trouble getting my theme color mode to persist on refresh of a dynamic router (created by getStaticPaths and using getStaticProps). it works fine if I navigate from the index page (or refresh on the index page) but if I load one of the dynamic pages (or refresh on one) it breaks the color mode and resets the styles to the default color mode. Is there something I am missing about the ssg pages in the docs?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am having trouble getting my theme color mode to persist on refresh of a dynamic router (created by getStaticPaths and using getStaticProps). it works fine if I navigate from the index page (or refresh on the index page) but if I load one of the dynamic pages (or refresh on one) it breaks the color mode and resets the styles to the default color mode. Is there something I am missing about the ssg pages in the docs?
Beta Was this translation helpful? Give feedback.
All reactions