We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I installed ic-snacks on Gatsby project, I wrapped layout component with StyleRoot but after running the project I got the following error
ic-snacks
layout
StyleRoot
TypeError: Cannot read property 'render' of undefined isStateless node_modules/ic-snacks/dist/esm/styles/themer/withTheme.js:11 8 | import { cleanConfig, themePropTypes } from './utils'; 9 | 10 | var isStateless = function isStateless(component) { > 11 | return !component.prototype.render; 12 | };
the issue could be fixed if I removed .prototype and called component.render but I am sure I should not modify node_mdoules files directly.
.prototype
component.render
node_mdoules
The text was updated successfully, but these errors were encountered:
Will be fixed shortly, thanks!
Sorry, something went wrong.
No branches or pull requests
I installed
ic-snacks
on Gatsby project, I wrappedlayout
component withStyleRoot
but after running the project I got the following error
the issue could be fixed if I removed
.prototype
and calledcomponent.render
but I am sure I should not modify
node_mdoules
files directly.The text was updated successfully, but these errors were encountered: