Skip to content

Commit 26dddc8

Browse files
committed
fixup! get token from url
1 parent 284c808 commit 26dddc8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const App = hot(module)(() => (
2525
<Route exact path={Routes.REGISTER} component={Register} />
2626
<Route exact path={Routes.LEADERBOARD} component={Leaderboard} />
2727
<Route exact path={Routes.USER_PROFILE_MODEL} component={UserProfileModal} />
28-
<Route path="/forgot-password" component={ChangePassword} />
28+
<Route path={Routes.CHANGE_PASSWORD} component={ChangePassword} />
2929
</Switch>
3030
<PopUpMenu />
3131
<Sugar background="#484848" color="white" />

src/app/routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ export enum Routes {
44
REGISTER = '/register',
55
LEADERBOARD = '/leaderboard',
66
USER_PROFILE_MODEL = '/profile',
7-
CHANGE_PASSWORD = '/forgot-password/*',
7+
CHANGE_PASSWORD = '/forgot-password',
88
}

0 commit comments

Comments
 (0)