Skip to content
Discussion options

You must be logged in to vote

Never mind i just have to passed the page prop to the invalidateQueries

...
onSettled: (newProfile: any) => {
         queryClient.invalidateQueries(['profiles', page, newProfile?.id]);
      },

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yudyananda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant