useColorMode no longer works since latest Theme UI's NPM packages #1135
Unanswered
gusbemacbe
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
My whole code is totally correct. There are two errors related to
useColorMode
:TypeError: setMode is not a function
;InvalidCharacterError: String contains an invalid character
.To Reproduce
Steps to reproduce the behavior:
Screenshots

Additional context
I will send you my website proejct package and the system info.
i81n-smakosh.zip
cc: @hasparus, @joe-bell, @jordanoverbye, @jxnblk and @lachlanjc
Beta Was this translation helpful? Give feedback.
All reactions