"useColorMode" imported from Theme UI plugin in React-based GatsbyJS doesn't work due to “InvalidCharacterError: String contains an invalid character”
I am using @smakosh's GatsbyJS theme and Theme UI plugin; I learned to use Hooks' useColorMode from Hooks - useThemeUI and useColorMode; My whole code is totally correct; I have already cleared the caches of GatsbyJS, npm and browser, but the same er...