From 939598a6ba894c708ed8fc8677a5bb1565d41393 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8B=E1=85=B5=E1=84=8C=E1=85=A2=E1=84=92=E1=85=A1?= Date: Thu, 5 Oct 2023 21:58:40 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=ED=9A=8C=EC=9B=90=EA=B0=80=EC=9E=85=20?= =?UTF-8?q?=EC=99=84=EB=A3=8C=EC=8B=9C=20=ED=86=A0=EC=8A=A4=ED=8A=B8=20?= =?UTF-8?q?=EB=A9=94=EC=8B=9C=EC=A7=80=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/app/register/contexts/RegisterProvider.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/jurumarble/src/app/register/contexts/RegisterProvider.tsx b/apps/jurumarble/src/app/register/contexts/RegisterProvider.tsx index 25cfbff9..6c45826d 100644 --- a/apps/jurumarble/src/app/register/contexts/RegisterProvider.tsx +++ b/apps/jurumarble/src/app/register/contexts/RegisterProvider.tsx @@ -172,7 +172,10 @@ export const RegisterProvider = ({ children }: PropsWithChildren) => { mbti: stringfiedMBTI, }), { - onSuccess: () => router.replace(Path.MAIN_PAGE), + onSuccess: () => { + toast.success("회원가입이 완료되었습니다."); + router.replace(Path.MAIN_PAGE); + }, onError: (error) => alert(error), }, );