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: () => {