diff --git a/src/components/common/AppRouter.tsx b/src/components/common/AppRouter.tsx index 3bce934eb..e4be74536 100644 --- a/src/components/common/AppRouter.tsx +++ b/src/components/common/AppRouter.tsx @@ -89,6 +89,12 @@ const defaultRoutesMap: RoutesMap = { path: '/oauth2/:provider', pageName: 'OAuth2Page', }, + + over_bind_device: { + path: '/over-bind-device', + pageName: 'OverBindDevicePage', + }, + join: { path: '/join', pageName: 'JoinPage', diff --git a/src/pages/OverBindDevicePage.tsx b/src/pages/OverBindDevicePage.tsx new file mode 100644 index 000000000..660828f21 --- /dev/null +++ b/src/pages/OverBindDevicePage.tsx @@ -0,0 +1,19 @@ +import OverBindDeviceModal from '../components/auth/login/OverBindDeviceModal' +import DefaultLayout from '../components/layout/DefaultLayout' + +const OverBindDevicePage: React.VFC = () => { + return ( + <> + + { + window.location.href = '/' + }} + /> + + + ) +} + +export default OverBindDevicePage diff --git a/yarn.lock b/yarn.lock index 3a3b5c084..d81566588 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11302,7 +11302,7 @@ lodash.uniq@^4.5.0: lodestar-app-element@urfit-tech/lodestar-app-element#master: version "0.1.0" - resolved "https://codeload.github.com/urfit-tech/lodestar-app-element/tar.gz/bf872a15d53d5bbd27bf2eb6c824885c3f9a9bd3" + resolved "https://codeload.github.com/urfit-tech/lodestar-app-element/tar.gz/e8beab126e69cb55bf173afd6f775d5ef4606230" dependencies: "@apollo/client" "^3.7.11" "@babel/cli" "^7.13.16"