ReactQueryDevTool not working

After try to add the devtool Error: No QueryClient set, use QueryClientProvider to set one has shown, but without(after comment) the devtool component the project works fine, issue is there only after adding the dev tools component.

i think reactquerydevtool is client component does work with server components