I am using react-router@6 and react-query@5.
I take this error message when I want log the States data: No QueryClient set, use QueryClientProvider to set one at useQueryClient.how can I that fix. please guid me.
enter image description here
this is my code:
enter image description here
enter image description here
New contributor
mahdieh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.