From a9e3c929c24f544d4521a8d6c940007a62f1ca92 Mon Sep 17 00:00:00 2001 From: yeyounging <133792082+yeyounging@users.noreply.github.com> Date: Wed, 12 Jun 2024 12:33:24 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20loginId=EC=A0=84=EC=97=AD=EA=B4=80?= =?UTF-8?q?=EB=A6=AC=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95=20(#89)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/(auth)/auth/api/queries.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/app/(auth)/auth/api/queries.ts b/src/app/(auth)/auth/api/queries.ts index d6047c7..ff6555d 100644 --- a/src/app/(auth)/auth/api/queries.ts +++ b/src/app/(auth)/auth/api/queries.ts @@ -1,4 +1,3 @@ -import { getQueryClient } from '@/app/lib'; import { useMutation } from '@tanstack/react-query'; import { ACCESS_TOKEN } from '@/constants'; import Cookies from 'js-cookie'; @@ -15,7 +14,6 @@ export const usePostLogin = (code: string) => { onSuccess: ({ result: { accessToken, blogId } }) => { Cookies.set(ACCESS_TOKEN, accessToken); setLoginId(blogId); - getQueryClient().invalidateQueries({ queryKey: ['login'] }); }, }); };