|
|
|
|
|
|
|
|
const AppRoutes = () => { |
|
|
const AppRoutes = () => { |
|
|
return ( |
|
|
return ( |
|
|
<Switch> |
|
|
<Switch> |
|
|
<Route exact path={BASE_PAGE} component={LoginPage} /> |
|
|
|
|
|
|
|
|
<Route exact path={BASE_PAGE} component={HomePage} /> |
|
|
<Route exact path={LOGIN_PAGE} component={LoginPage} /> |
|
|
<Route exact path={LOGIN_PAGE} component={LoginPage} /> |
|
|
<Route path={NOT_FOUND_PAGE} component={NotFoundPage} /> |
|
|
<Route path={NOT_FOUND_PAGE} component={NotFoundPage} /> |
|
|
<Route path={REGISTER_SUCCESSFUL_PAGE} component={RegisterSuccessful} /> |
|
|
<Route path={REGISTER_SUCCESSFUL_PAGE} component={RegisterSuccessful} /> |