Open lakesare opened 4 years ago
Notifications should be renewed without setting { status: 'request' } on subsequent api calls.
{ status: 'request' }
There shouldn't be a residual '1 notification is unread' when we:
This happens because we don't update value in our localStorage whenever amount of unread notifications changes.
Let's put <Notifications/> state into redux instead of keeping it in the component.
<Notifications/>
redux
Notifications should be renewed without setting
{ status: 'request' }
on subsequent api calls.There shouldn't be a residual '1 notification is unread' when we:
This happens because we don't update value in our localStorage whenever amount of unread notifications changes.