Skip to content

Commit

Permalink
Merge pull request #340 from bounswe/hotfix/FE-missing-auth-pages
Browse files Browse the repository at this point in the history
fix: add missing auth pages
  • Loading branch information
rukiyeaslan authored Oct 21, 2024
2 parents 534da8c + 22c7f0a commit fa4ca96
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import {
Routes,
Navigate,
} from "react-router-dom";
import Login from "./components/login/Login.js";
import Register from "./components/login/Register.js";
import ForgotPassword from "./components/login/ForgotPassword.js";
import Dashboard from "./components/Dashboard.js";
import NewsPage from "./components/news/NewsPage.js";
Expand All @@ -21,6 +23,8 @@ function App() {
<Router>
<div className="App">
<Routes>
<Route path="/login" element={<Login />} />
<Route path="/register" element={<Register />} />
<Route path="/forgot-password" element={<ForgotPassword />} />
<Route
path="/"
Expand Down

0 comments on commit fa4ca96

Please sign in to comment.