actually optimistic mark as read (#3917)

This commit is contained in:
Samuel Newman 2024-05-08 21:19:45 +01:00 committed by GitHub
parent 7d06fb9432
commit 750a5c899b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 5 deletions

View file

@ -122,7 +122,6 @@ export function useOnMarkAsRead() {
unreadCount: 0,
}))
})
queryClient.invalidateQueries({queryKey: RQKEY})
},
[queryClient],
)