Refetch mutation after user action.
Hi !
I have a useMutation to get datas and display it on a Table.
I would like to refetch my datas without havin to refresh de page.
but i don't understand how can i use my queryClient to trigger the refetch.
on my table action i tried that:
thank you
I have a useMutation to get datas and display it on a Table.
I would like to refetch my datas without havin to refresh de page.
but i don't understand how can i use my queryClient to trigger the refetch.
on my table action i tried that:
thank you