mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-04 02:49:42 +03:00
notifications: clear unreads on resubscribe
This commit is contained in:
parent
59e51e4165
commit
7047f7fe2a
@ -187,7 +187,8 @@ function clearState(state: HarkState): HarkState {
|
|||||||
graph: {},
|
graph: {},
|
||||||
group: {}
|
group: {}
|
||||||
},
|
},
|
||||||
notificationsCount: 0
|
notificationsCount: 0,
|
||||||
|
unreadNotes: {}
|
||||||
};
|
};
|
||||||
Object.assign(state, initialState);
|
Object.assign(state, initialState);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user