Skip to content

Commit

Permalink
chore: 리다이렉트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
bottlewook committed Mar 4, 2024
1 parent 0a1c9d3 commit b2f1bde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function useRegisterCarDetails() {
return useMutation({
mutationFn: postCarDetails,
onSuccess: () => {
router.push('/');
router.push('/my-page');
toast.success('등록을 완료하였습니다!');
},
onError: () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function useRegisterCarWashDetails() {
return useMutation({
mutationFn: postCarWashDetails,
onSuccess: () => {
router.push('/');
router.push('/my-page');
toast.success('등록을 완료하였습니다!');
},
onError: () => {
Expand Down

0 comments on commit b2f1bde

Please sign in to comment.