From e62c4f3a8ecf99818457743ad37f362ccd697cd9 Mon Sep 17 00:00:00 2001 From: kkkkkse Date: Tue, 5 Sep 2023 18:07:41 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20=ED=94=84=EB=A1=9C=ED=95=84=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20=EC=BB=B4=ED=8F=AC=EB=84=8C=ED=8A=B8=20unmount=20?= =?UTF-8?q?=EC=8B=9C=20form=20reset?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/ProfileEditPage.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pages/ProfileEditPage.tsx b/src/pages/ProfileEditPage.tsx index dc8cc4b..6811e4f 100644 --- a/src/pages/ProfileEditPage.tsx +++ b/src/pages/ProfileEditPage.tsx @@ -20,6 +20,10 @@ export default function ProfileEditPage() { navigate(STATIC_ROUTES.MY_PROFILE); } + + return () => { + store.reset(); + }; }, [done]); return (