From 8e6604cfa6223ab68ba689b34b712837a8778d7c Mon Sep 17 00:00:00 2001 From: infinite-persistence Date: Wed, 10 Mar 2021 15:13:53 +0800 Subject: [PATCH] Add blank Swap page --- ui/component/router/view.jsx | 2 ++ ui/component/walletBalance/view.jsx | 1 + ui/constants/pages.js | 1 + ui/page/swap/index.js | 6 ++++++ ui/page/swap/view.jsx | 23 +++++++++++++++++++++++ 5 files changed, 33 insertions(+) create mode 100644 ui/page/swap/index.js create mode 100644 ui/page/swap/view.jsx diff --git a/ui/component/router/view.jsx b/ui/component/router/view.jsx index 92e3c751e..ee36283f8 100644 --- a/ui/component/router/view.jsx +++ b/ui/component/router/view.jsx @@ -48,6 +48,7 @@ import RepostNew from 'page/repost'; import BuyPage from 'page/buy'; import ReceivePage from 'page/receive'; import SendPage from 'page/send'; +import SwapPage from 'page/swap'; import NotificationsPage from 'page/notifications'; import SignInWalletPasswordPage from 'page/signInWalletPassword'; import YoutubeSyncPage from 'page/youtubeSync'; @@ -285,6 +286,7 @@ function AppRouter(props: Props) { + diff --git a/ui/component/walletBalance/view.jsx b/ui/component/walletBalance/view.jsx index 6746d5c36..3122a7087 100644 --- a/ui/component/walletBalance/view.jsx +++ b/ui/component/walletBalance/view.jsx @@ -155,6 +155,7 @@ const WalletBalance = (props: Props) => {