Skip to content

Commit 8179abe

Browse files
committed
Polish for 1.1.0
* Route forgot-password and reset-password in App v1.1.0
1 parent 0a127e6 commit 8179abe

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "borum-sphere",
3-
"version": "1.0.0",
3+
"version": "1.1.0",
44
"description": "The web app for Borum users to read, update, delete, and create their account and the Borum products that they're using",
55
"private": true,
66
"dependencies": {

src/App.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@ import Logout from "./Logout/logout";
44
import "./App.css";
55
import { Route, BrowserRouter, Switch } from "react-router-dom";
66
import Dashboard from "./Dashboard/dashboard";
7+
import ForgotPassword from "./ForgotPassword/forgotPassword";
8+
import ResetPassword from "./ResetPassword/resetPassword";
79

810
function App() {
911
return (
1012
<BrowserRouter>
1113
<Switch>
14+
<Route exact path="/">
15+
<Dashboard />
16+
</Route>
1217
<Route path="/signup">
1318
<Register />
1419
</Route>
@@ -18,8 +23,11 @@ function App() {
1823
<Route path="/logout">
1924
<Logout />
2025
</Route>
21-
<Route path="/">
22-
<Dashboard />
26+
<Route path="/forgot-password">
27+
<ForgotPassword />
28+
</Route>
29+
<Route path="/reset-password">
30+
<ResetPassword />
2331
</Route>
2432
</Switch>
2533
</BrowserRouter>

0 commit comments

Comments
 (0)