Skip to content
New issue

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

Autocomplete throws error with react-css-themr #1900

Open
olamalu-cc opened this issue Dec 12, 2018 · 1 comment
Open

Autocomplete throws error with react-css-themr #1900

olamalu-cc opened this issue Dec 12, 2018 · 1 comment

Comments

@olamalu-cc
Copy link

I was getting an error with an error being generated by ThemedAutocomplete (null error at line 216 Object.keys(mixin).forEach(function (key) { ) in components/themr.js).

I believe this export in Autocomplete is the issue line 434:-
export default themr(AUTOCOMPLETE, null, { withRef: true })(Autocomplete);

Replacing it with an object worked for me:-
export default themr(AUTOCOMPLETE, {}, { withRef: true })(Autocomplete);

@k3ntako
Copy link

k3ntako commented Jan 22, 2019

Made a PR with a @olamalu-cc's fix, #1910.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants