-
-
Notifications
You must be signed in to change notification settings - Fork 699
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
Cannot set properties of undefined (setting 'toggle') #1150
Comments
We are facing the issue as well... would be nice if there is some insights on this.. and possible way to fix it please 🙏🏼 |
I get the same error now randomnly ! And here is the console log for the -- error
|
my specific sample code is below page.tsx code
useTimer.ts file
|
What is the purpose of doing this progress: undefined ? |
I have taken the sample code from the demo site and there it is undefined ! |
i have also faced this issue any suggestions...??? |
@amila-t-kumarasekara would be great if you could also try and then get back with a suggestion instead of just replying here. BTW the removal of progress doesn't really make any difference! it still crashes ! |
i am also getting the same error. any suggestions...? |
|
We have different package declaring Toastify, and using this packages / lib in our apps... in this case how do we avoid this error, these packages works independently and in the app too... |
Hey, I've released a new major version that should fix this issue as well, please read the release note before upgrading 🙏🏽 |
bug
What is the current behavior?
I recently upgraded to React 18 and react-toastify 10.0.5, since then, I keep getting this error
Cannot set properties of undefined (setting 'toggle')
any pointers on how to resolve this? attached is screenshot of the issueWhich versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
React: 18.2.0
react-toastify: "^10.0.5"
browswer: Safari 17.4.1
The text was updated successfully, but these errors were encountered: