From 8e6c62dd498aaa4de3394e9d19d81f150e44b08c Mon Sep 17 00:00:00 2001 From: KANGYONGSU23 Date: Wed, 29 Nov 2023 10:25:07 +0900 Subject: [PATCH] =?UTF-8?q?hotfix=20::=20=EB=B6=81=EB=A7=88=ED=81=AC?= =?UTF-8?q?=EC=8B=9C=20api=20refresh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/bookmarks/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apis/bookmarks/index.ts b/src/apis/bookmarks/index.ts index 62f3b85..086e587 100644 --- a/src/apis/bookmarks/index.ts +++ b/src/apis/bookmarks/index.ts @@ -19,7 +19,8 @@ export const useSetBookmarks = () => { }, { onSuccess: () => { - queryClient.invalidateQueries(["getRecruitmentsList", "GetBookmarks"]); + queryClient.invalidateQueries(["getRecruitmentsList"]); + queryClient.invalidateQueries(["GetBookmarks"]); }, } );