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

TypeError: Cannot set properties of undefined (setting 'toggle') #1170

Closed
Harshu29-09 opened this issue Oct 24, 2024 · 4 comments
Closed

TypeError: Cannot set properties of undefined (setting 'toggle') #1170

Harshu29-09 opened this issue Oct 24, 2024 · 4 comments
Labels
bug Merged in next Merged but not live

Comments

@Harshu29-09
Copy link

I'm encountering a problem with the toast notification in my application. After triggering a toast.success message, the toast appears as expected. However, if I click anywhere on the screen while the toast is displayed, the same toast notification reappears. Additionally, when I attempt to dismiss the toast, I receive the following runtime error:

TypeError: Cannot set properties of undefined (setting 'toggle')

I would appreciate any insights or solutions from the community on how to resolve this issue. Thank you!

@abhishekbansal2312
Copy link

I am also getting this same problem.

@ManrahulBajwa
Copy link

Facing same issue in Next.js production build.
Unable to reproduce it in development mode in Nex.tjs
Crashing production application
image
image

@fkhadra
Copy link
Owner

fkhadra commented Dec 16, 2024

Hey, I've released a new major version, please read the release note before upgrading 🙏🏽

@fkhadra fkhadra closed this as completed Dec 16, 2024
@Harshu29-09
Copy link
Author

Hey, I've released a new major version, please read the release note before upgrading 🙏🏽
Great work @fkhadra

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Merged in next Merged but not live
Projects
None yet
Development

No branches or pull requests

4 participants