fix: user changes

This commit is contained in:
sajjadtalkhabi
2026-05-28 13:34:30 +03:30
parent cb86920015
commit 7ed6ec9ae1
46 changed files with 328 additions and 1114 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ export const useGetMeQuery = (options = {}) =>
useQuery({
queryKey: authKeys.me(),
queryFn: () => apiGetMe(),
select: (response) => response?.data?.user ?? response?.data ?? response,
select: (response) => response?.data ?? response,
...options,
})