File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export const App = hot(module)(() => (
25
25
< Route exact path = { Routes . REGISTER } component = { Register } />
26
26
< Route exact path = { Routes . LEADERBOARD } component = { Leaderboard } />
27
27
< Route exact path = { Routes . USER_PROFILE_MODEL } component = { UserProfileModal } />
28
- < Route path = "/forgot-password" component = { ChangePassword } />
28
+ < Route path = { Routes . CHANGE_PASSWORD } component = { ChangePassword } />
29
29
</ Switch >
30
30
< PopUpMenu />
31
31
< Sugar background = "#484848" color = "white" />
Original file line number Diff line number Diff line change @@ -4,5 +4,5 @@ export enum Routes {
4
4
REGISTER = '/register' ,
5
5
LEADERBOARD = '/leaderboard' ,
6
6
USER_PROFILE_MODEL = '/profile' ,
7
- CHANGE_PASSWORD = '/forgot-password/* ' ,
7
+ CHANGE_PASSWORD = '/forgot-password' ,
8
8
}
You can’t perform that action at this time.
0 commit comments