Cannot read properties of undefined (reading 'replace') #2014
-
I just can't seem to get When I have:
All I see is this error: I'm using it with
I've tried updating packages with no luck. And I copied this setup as it's working just fine. Any help would be awesome. Thanks :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I think It might be because it doesn't have a
|
Beta Was this translation helpful? Give feedback.
-
I think we should fix it and default missing |
Beta Was this translation helpful? Give feedback.
<ThemeUIPrism />
doesn't takelanguage
prop, it grabs the language from the className, so when the className is missing this can fail.I think we should fix it and default missing
className
to an empty string here.