Open mpayson opened 4 years ago
It works in v0.46.0
so looks like the error was introduced fro v0.47.0
Another update, this appears to happen when App.js
is imported before CalciteThemeProvider
in index.js
@mpayson Thanks for recording this bug, I saw this happening on another project but wasn't able to reproduce. Knowing the import order makes a difference would explain why. I'll continue to look into this.
Expected Behavior
Can add a component
Current Behavior
Calcite-react throws a type error when creating a new app with create-react-app and replacing index.js / App.js with the calcite-react getting started snippets
Context + Screenshots
Error message
Your Environment
package.json dependencies