-
Hi, I am using Is it a natural behavious, is it suppose to work like this or am i missing something Hook Usage const { data, isLoading: loadingPlanData } = usePlan(); Hook export const usePlan = (enabled = true) => {
const axiosPrivate = useAxiosPrivate();
return useQuery(
['plan'],
async () => {
const res = await plan(axiosPrivate);
return res.data;
},
{
enabled,
}
);
}; |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
do both apps have the same |
Beta Was this translation helpful? Give feedback.
do both apps have the same
tsconfig
settings ?