You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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