Spaces:
Runtime error
Runtime error
isLoading => isFetching
Browse files- utils/useUser.ts +1 -1
utils/useUser.ts
CHANGED
@@ -10,7 +10,7 @@ export const useUser = () => {
|
|
10 |
const {
|
11 |
data: user,
|
12 |
refetch,
|
13 |
-
|
14 |
remove: clear,
|
15 |
}: any = useQuery(
|
16 |
["user.me"],
|
|
|
10 |
const {
|
11 |
data: user,
|
12 |
refetch,
|
13 |
+
isFetching: loading,
|
14 |
remove: clear,
|
15 |
}: any = useQuery(
|
16 |
["user.me"],
|