Add Teams and ProjectBoard routes
cgen-bd7369a5c7e0491b80db277b6d3535fa
This commit is contained in:
parent
6ec4df64c9
commit
79fb4db3bc
1 changed files with 4 additions and 4 deletions
|
|
@ -50,6 +50,8 @@ import ProjectsNew from "./pages/ProjectsNew";
|
||||||
import Opportunities from "./pages/Opportunities";
|
import Opportunities from "./pages/Opportunities";
|
||||||
import Explore from "./pages/Explore";
|
import Explore from "./pages/Explore";
|
||||||
import ResetPassword from "./pages/ResetPassword";
|
import ResetPassword from "./pages/ResetPassword";
|
||||||
|
import Teams from "./pages/Teams";
|
||||||
|
import ProjectBoard from "./pages/ProjectBoard";
|
||||||
import { Navigate } from "react-router-dom";
|
import { Navigate } from "react-router-dom";
|
||||||
import FourOhFourPage from "./pages/404";
|
import FourOhFourPage from "./pages/404";
|
||||||
import SignupRedirect from "./pages/SignupRedirect";
|
import SignupRedirect from "./pages/SignupRedirect";
|
||||||
|
|
@ -70,11 +72,9 @@ const App = () => (
|
||||||
<Route path="/dashboard" element={<Dashboard />} />
|
<Route path="/dashboard" element={<Dashboard />} />
|
||||||
<Route path="/admin" element={<Admin />} />
|
<Route path="/admin" element={<Admin />} />
|
||||||
<Route path="/feed" element={<Feed />} />
|
<Route path="/feed" element={<Feed />} />
|
||||||
<Route
|
<Route path="/teams" element={<Teams />} />
|
||||||
path="/network"
|
|
||||||
element={<Navigate to="/feed" replace />}
|
|
||||||
/>
|
|
||||||
<Route path="/projects/new" element={<ProjectsNew />} />
|
<Route path="/projects/new" element={<ProjectsNew />} />
|
||||||
|
<Route path="/projects/:projectId/board" element={<ProjectBoard />} />
|
||||||
<Route path="/profile" element={<Profile />} />
|
<Route path="/profile" element={<Profile />} />
|
||||||
<Route path="/profile/me" element={<Profile />} />
|
<Route path="/profile/me" element={<Profile />} />
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue