Skip to content

Update use-notification-center.md for invalid directory#94

Open
hashirshoaeb wants to merge 1 commit intofkhadra:masterfrom
hashirshoaeb:patch-1
Open

Update use-notification-center.md for invalid directory#94
hashirshoaeb wants to merge 1 commit intofkhadra:masterfrom
hashirshoaeb:patch-1

Conversation

@hashirshoaeb
Copy link

while using

import { useNotificationCenter } from "react-toastify/addons/useNotificationCenter"

i was getting the following error.

Cannot find module 'react-toastify/addons/useNotificationCenter' or its corresponding type declarations.

When i google i got this article: https://blog.logrocket.com/using-react-toastify-style-toast-messages

And found the difference in imports i.e file name. So this PR is the fix for that.

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

Successfully merging this pull request may close these issues.

1 participant