Open alereca opened 2 months ago
When performing some mutations data displayed is not updated, consequently that indicates missing queryClient.invalidateQueries({ queryKey: [...] })
queryClient.invalidateQueries({ queryKey: [...] })
For example: When accepting a project join request, the number of requests should decrease by one (drop to 0 if there are no more).
Also, member list should be updated.
When performing some mutations data displayed is not updated, consequently that indicates missing
queryClient.invalidateQueries({ queryKey: [...] })