Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 2b58cf0

Browse files
committed
feat: redirect from "/taas" to "/taas/myteams"
ref issue #44
1 parent 80bf6f4 commit 2b58cf0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/root.component.jsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
22
import { Provider } from "react-redux";
3-
import { Router } from "@reach/router";
3+
import { Router, Redirect } from "@reach/router";
44
import MyTeamsList from "./routes/MyTeamsList";
55
import MyTeamsDetails from "./routes/MyTeamsDetails";
66
import PositionDetails from "./routes/PositionDetails";
@@ -14,6 +14,7 @@ export default function Root() {
1414
<div className={styles["topcoder-micro-frontends-teams-app"]}>
1515
<Provider store={store}>
1616
<Router>
17+
<Redirect from="/taas" to="/taas/myteams" exact />
1718
<MyTeamsList path="/taas/myteams" />
1819
<MyTeamsDetails path="/taas/myteams/:teamId" />
1920
<PositionDetails path="/taas/myteams/:teamId/positions/:positionId" />

0 commit comments

Comments
 (0)