standard-azureS
Refine2y ago
3 replies
standard-azure

usegetidentity issue in App.tsx

when I am introducing :
type IUser = {
id: number;
name: string;
role: string;
avatar: string;
};

function App() {


const { data: user } = useGetIdentity<IUser>();

I get the following error:
Uncaught Error: No QueryClient set, use QueryClientProvider to set one
which is surprising since App is correctly wrapped in the index.tsx with QueryClient
Was this page helpful?