✨ feat(routes.tsx): add new route for LoginPage component at /login path to enable user login functionality
This commit is contained in:
parent
61d1e13644
commit
c1d1684c73
1 changed files with 2 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ import { Route, Routes } from "react-router-dom";
|
|||
import CommunityPage from "./pages/CommunityPage";
|
||||
import FlowPage from "./pages/FlowPage";
|
||||
import HomePage from "./pages/MainPage";
|
||||
import LoginPage from "./pages/loginPage";
|
||||
|
||||
const Router = () => {
|
||||
return (
|
||||
|
|
@ -12,6 +13,7 @@ const Router = () => {
|
|||
<Route path="" element={<FlowPage />} />
|
||||
</Route>
|
||||
<Route path="*" element={<HomePage />} />
|
||||
<Route path="/login" element={<LoginPage />} />
|
||||
</Routes>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue