Skip to content

Commit

Permalink
Update routes for WelcomePage
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejritter committed Apr 25, 2024
1 parent d1282bc commit f0221e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/pages/LogoutPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default class LogoutPage extends Component {
logout();
}

history.replace('/login');
history.replace('/welcome');
}

render() {
Expand Down
2 changes: 1 addition & 1 deletion src/components/pages/RootPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function RootPage(props) {
</Helmet>

<Switch>
<PublicRoute path="/login" component={WelcomePage} />
<PublicRoute path="/welcome" component={WelcomePage} />
<PublicRoute path="/logout" component={LogoutPageContainer} decorated={false} />
<PublicRoute path="/config" component={ConfigPage} />
<PublicRoute path="/authorize" component={AuthorizePageContainer} decorated={false} />
Expand Down

0 comments on commit f0221e0

Please sign in to comment.