Skip to content

Commit

Permalink
[fe] fix (#95) 드라이버 회원가입 라우팅 변경
Browse files Browse the repository at this point in the history
- 회원가입 이후 메인 페이지로 이동하도록 변경
  • Loading branch information
GrasshopperBears committed Dec 7, 2020
1 parent ecbcf45 commit 9bce248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/driverSignup/DriverSignupForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const DriverSignupForm = withFormik({
});
setSubmitting(false);

if (success) props.history.push('/driver/map');
if (success) props.history.push('/driver/main');
else props.showAlert(message);
} catch (e) {
props.showAlert('오류가 발생했습니다');
Expand Down

0 comments on commit 9bce248

Please sign in to comment.