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
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
