Skip to content

Commit

Permalink
feat: Redirect home to my dash
Browse files Browse the repository at this point in the history
  • Loading branch information
d-beezee committed Jan 19, 2024
1 parent 33ac58f commit 4b45439
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {
ExperiencePoints,
GettingStarted,
GoodbyePage,
Home,
Login,
MyBugs,
PreviewSelectionForm,
Expand Down Expand Up @@ -197,11 +196,15 @@ function Page() {
exact
component={GoodbyePage}
/>
<SentryRoute
path={["/", "/it", "/es"]}
exact
component={() => <Home />}
/>
<SentryRoute path={"/"} exact>
<Redirect to="/my-dashboard" />
</SentryRoute>
<SentryRoute path={"/it"} exact>
<Redirect to="/it/my-dashboard" />
</SentryRoute>
<SentryRoute path={"/es"} exact>
<Redirect to="/es/my-dashboard" />
</SentryRoute>
</Switch>
</Router>
</div>
Expand Down

0 comments on commit 4b45439

Please sign in to comment.