Globally access useNotificationCenter #944
Unanswered
pratikexwzd
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have the useNotificationCenter hook called in the Navbar component as I am displaying the count in the notifications zone . I want to update the notifications by calling add() in some other component . Calling use useNotificationCenter in different components dont work . Is there any way possible to maintain a global notification center and access all its functions through the app?
Beta Was this translation helpful? Give feedback.
All reactions