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

problem with toast #3

Open
Arpish00 opened this issue Oct 18, 2022 · 2 comments
Open

problem with toast #3

Arpish00 opened this issue Oct 18, 2022 · 2 comments

Comments

@Arpish00
Copy link

maybe there's problem with toast in react.development.js, they aren't loading instead causing whole page to go blank!

@Arpish00
Copy link
Author

react.development.js:1626

   Uncaught TypeError: Cannot read properties of null (reading 'useReducer')
at useReducer (react.development.js:1626:1)
at useToastContainer (useToastContainer.ts:54:1)
at ToastContainer.tsx:15:1
at renderWithHooks (react-dom.development.js:16305:1)
at updateForwardRef (react-dom.development.js:19226:1)
at beginWork (react-dom.development.js:21636:1)
at beginWork$1 (react-dom.development.js:27426:1)
at performUnitOfWork (react-dom.development.js:26557:1)
at workLoopSync (react-dom.development.js:26466:1)
at renderRootSync (react-dom.development.js:26434:1)

@amansingh88688
Copy link

amansingh88688 commented Mar 29, 2023

You just need to install toastify library:
npm i react-toastify

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