Merge pull request #4575 from urbit/lf/hark-refresh

Notifications: fix refresh
This commit is contained in:
matildepark 2021-03-10 01:35:45 -05:00 committed by GitHub
commit 9c5b82237e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -63,7 +63,7 @@ const useHarkState = createState<HarkState>('Hark', {
graph: {},
group: {}
},
}, ['notifications', 'archivedNotifications', 'unreads']);
}, ['notifications', 'archivedNotifications', 'unreads', 'notificationsCount']);
export default useHarkState;

View File

@ -192,6 +192,7 @@ export function Profile(props: any): ReactElement | null {
<ViewProfile
nacked={nacked}
ship={ship}
api={props.api}
contact={contact}
/>
)}