From b2f1bde00448f0af3940e29f5363d15d3db2c71c Mon Sep 17 00:00:00 2001 From: bottlewook Date: Mon, 4 Mar 2024 19:53:06 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=EB=A6=AC=EB=8B=A4=EC=9D=B4=EB=A0=89?= =?UTF-8?q?=ED=8A=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../additional-info/car-details/useRegisterCarDetails.tsx | 2 +- .../car-wash-details/useRegisterCarWashDetails.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/remote/queries/additional-info/car-details/useRegisterCarDetails.tsx b/src/remote/queries/additional-info/car-details/useRegisterCarDetails.tsx index f22f3ea4..9a447265 100644 --- a/src/remote/queries/additional-info/car-details/useRegisterCarDetails.tsx +++ b/src/remote/queries/additional-info/car-details/useRegisterCarDetails.tsx @@ -10,7 +10,7 @@ function useRegisterCarDetails() { return useMutation({ mutationFn: postCarDetails, onSuccess: () => { - router.push('/'); + router.push('/my-page'); toast.success('등록을 완료하였습니다!'); }, onError: () => { diff --git a/src/remote/queries/additional-info/car-wash-details/useRegisterCarWashDetails.tsx b/src/remote/queries/additional-info/car-wash-details/useRegisterCarWashDetails.tsx index 0893a046..a6f804db 100644 --- a/src/remote/queries/additional-info/car-wash-details/useRegisterCarWashDetails.tsx +++ b/src/remote/queries/additional-info/car-wash-details/useRegisterCarWashDetails.tsx @@ -10,7 +10,7 @@ function useRegisterCarWashDetails() { return useMutation({ mutationFn: postCarWashDetails, onSuccess: () => { - router.push('/'); + router.push('/my-page'); toast.success('등록을 완료하였습니다!'); }, onError: () => {