Open antoniodinovi opened 1 year ago
[Update], after reading the source code i found that this appens only when notifications are fetched using useFetchNotifications
, using useNotifications
solve the problem. But i need to mark as read also notification filtered by feed.
Can I work on this issue? @scopsy
@Abobos we are currently working on a completely reimaged headless and react component suite. So this will be handled by the new SDK :)
📜 Description
When i try to use the function
markNotificationAs
exposed byuseMarkNotificationsAs
the application return an error but the notification state is update👟 Reproduction steps
Invoking onClick starts the api call and the state of the notification is updated on refresh but the function return an error
👍 Expected behavior
Call the function shoud not throw errors
👎 Actual Behavior with Screenshots
Click on the unseen notification to mark as seen throw the console error
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Contributing Guidelines?
Are you willing to submit PR?
None
NV-1842