From 22a665a49895b071d021c5fd2583138f33510ece Mon Sep 17 00:00:00 2001 From: leejin_rho Date: Thu, 27 Jun 2024 13:31:23 +0900 Subject: [PATCH] =?UTF-8?q?#16=20fix=20:=20useMutation=20muntationKey=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/login.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/login.tsx b/pages/login.tsx index 779cd6d..6543f99 100644 --- a/pages/login.tsx +++ b/pages/login.tsx @@ -44,7 +44,7 @@ const Login: NextPage = () => { ); const signInMutation = useMutation({ - queryKey: ["SignIn"], + mutationKey: ["SignIn"], mutationFn: SignIn, onSuccess: async (data) => { console.log(data);