-
Notifications
You must be signed in to change notification settings - Fork 21
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
TypeError: useMediaQuery is not a function #82
Comments
same issue i downgrade to ^0.2.8 instead |
Same error, hope it gets fixed! The effort to maintain Chonky is much appreciated. |
Our team determined that removing these lines: react-chonky/packages/chonky/package.json Lines 29 to 35 in 8b878b7
allowed everything to work as expected. I don't 100% understand what the underlying problem is here, but happy to submit a PR to clean up the package.json for this issue. |
Hmmm that looks like a esm vs. cjs issue. I'll have a look. |
Is there any news to this problem? I'm able to use the package without any problems after adjusting some things for the initial setup but I'm unable to test anything with it using jest. Is there any workaround for the moment you guys know of? e/ |
@hari-bhandari @cklat @kaytwo @johnneijzen @fjwillemsen I released v0.3.1 with the changes mentioned here. Please give it a go and let me know if this issue is fixed or not. |
Related: #82 Signed-off-by: Christian Stewart <[email protected]>
unable to upgrade from v0.2.8 edit// Managed to get it to upgrade. However in my case (testing to render the component), the error is still the same. Nothing changed |
Ok I'll have another look. |
Hi, any updates on this issue? Running into the same issue when trying to test using Jest |
I am no longer using chonky and therefore haven't had time to investigate this issue. That said, if someone sends a PR to fix it I will test + merge + publish the updated version. |
The text was updated successfully, but these errors were encountered: