Skip to content

Commit ec59dfa

Browse files
committed
chore: type err fix (#323)
1 parent 48b1cae commit ec59dfa

File tree

1 file changed

+1
-1
lines changed
  • services/ahhachul.com/src/hooks/domain/my

1 file changed

+1
-1
lines changed

services/ahhachul.com/src/hooks/domain/my/useUser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { ApiResponse, UserProfileResponseDto } from '@/types';
55

66
const useUser = () => {
77
const queryClient = useQueryClient();
8-
const data = queryClient.getQueryData<ApiResponse<UserProfileResponseDto>>(userKeys.infos());
8+
const data = queryClient.getQueryData<ApiResponse<UserProfileResponseDto>>(userKeys.info());
99

1010
return { user: data?.result ?? null };
1111
};

0 commit comments

Comments
 (0)