From 47f600e79798c288ba3836c3348ecbe39b4ee9fd Mon Sep 17 00:00:00 2001 From: infiinte-persistence Date: Tue, 7 Jul 2020 15:47:48 +0800 Subject: [PATCH] Rename: PasswordResetPage --> PasswordSetPage There will be an actual "Reset" page coming up next. --- ui/constants/pages.js | 2 +- ui/page/passwordSet/index.js | 4 ++-- ui/page/passwordSet/view.jsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/constants/pages.js b/ui/constants/pages.js index 1ec7c516f..bcdbc498a 100644 --- a/ui/constants/pages.js +++ b/ui/constants/pages.js @@ -1,7 +1,7 @@ exports.AUTH = 'signup'; exports.AUTH_SIGNIN = 'signin'; exports.AUTH_VERIFY = 'verify'; -exports.AUTH_PASSWORD_SET = 'reset'; +exports.AUTH_PASSWORD_SET = 'set'; exports.BACKUP = 'backup'; exports.CHANNEL = 'channel'; exports.DISCOVER = 'discover'; diff --git a/ui/page/passwordSet/index.js b/ui/page/passwordSet/index.js index e3cf8568c..e25911440 100644 --- a/ui/page/passwordSet/index.js +++ b/ui/page/passwordSet/index.js @@ -1,3 +1,3 @@ -import PasswordResetPage from './view'; +import PasswordSetPage from './view'; -export default PasswordResetPage; +export default PasswordSetPage; diff --git a/ui/page/passwordSet/view.jsx b/ui/page/passwordSet/view.jsx index 671b60aa7..eecf71b15 100644 --- a/ui/page/passwordSet/view.jsx +++ b/ui/page/passwordSet/view.jsx @@ -3,7 +3,7 @@ import React from 'react'; import UserPasswordSet from 'component/userPasswordSet'; import Page from 'component/page'; -export default function PasswordResetPage() { +export default function PasswordSetPage() { return (