From 9f214c4a030c58d60f1931dd066f9db77c9ac606 Mon Sep 17 00:00:00 2001 From: kric_jspark Date: Tue, 30 Jun 2026 18:04:35 +0900 Subject: [PATCH] =?UTF-8?q?260630=5F02=5FENH:=20=EB=A1=9C=EA=B7=B8?= =?UTF-8?q?=EC=95=84=EC=9B=83=20=EC=8B=9C=20alert=20=EC=95=88=EB=9C=A8?= =?UTF-8?q?=EA=B2=8C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/query/auth.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/query/auth.ts b/src/query/auth.ts index a0375a6..f8fb8e8 100644 --- a/src/query/auth.ts +++ b/src/query/auth.ts @@ -27,7 +27,7 @@ export const useLogoutMutation = () => { const userId = auth.user?.userId ?? ""; try { if (userId){ - await nextApi.post(`/logout/${userId}`, null, { autoLogoutOnAuthError: false }); + await nextApi.post(`/logout/${userId}`, null, { autoLogoutOnAuthError: false, suppressAlert: true }); } } catch (e) { console.error(e); @@ -38,4 +38,4 @@ export const useLogoutMutation = () => { qc.clear(); // 다음 사용자/세션에 서버상태 남지 않게 }, }); -} \ No newline at end of file +}