From 75c8f59ac95149b6a13e061ed0175c8b5d080de5 Mon Sep 17 00:00:00 2001 From: Vasek Mlejnsky Date: Mon, 27 Aug 2018 12:32:27 +0200 Subject: [PATCH] Move wallet's "Sign" component to wallet's views and name it "AccountSignVerify" --- .../{components/Sign => views/AccountSignVerify}/index.js | 4 ++-- src/js/views/index.js | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) rename src/js/views/Wallet/{components/Sign => views/AccountSignVerify}/index.js (95%) diff --git a/src/js/views/Wallet/components/Sign/index.js b/src/js/views/Wallet/views/AccountSignVerify/index.js similarity index 95% rename from src/js/views/Wallet/components/Sign/index.js rename to src/js/views/Wallet/views/AccountSignVerify/index.js index 53a8fe78..7935b1e6 100644 --- a/src/js/views/Wallet/components/Sign/index.js +++ b/src/js/views/Wallet/views/AccountSignVerify/index.js @@ -40,7 +40,7 @@ const Textarea = styled.textarea` const Input = styled.input``; -const SignVerify = () => ( +const AccountSignVerify = () => ( Sign message @@ -63,4 +63,4 @@ const SignVerify = () => ( ); -export default SignVerify; \ No newline at end of file +export default AccountSignVerify; \ No newline at end of file diff --git a/src/js/views/index.js b/src/js/views/index.js index 09fc3e5f..4da0d597 100644 --- a/src/js/views/index.js +++ b/src/js/views/index.js @@ -12,6 +12,8 @@ import LandingContainer from 'views/Landing/Container'; import WalletContainer from 'views/Wallet'; import AccountSend from 'views/Wallet/views/AccountSend/Container'; import AccountReceive from 'views/Wallet/views/AccountReceive/Container'; +import AccountSignVerify from 'views/Wallet/views/AccountSignVerify/Container'; + import WalletDashboard from 'views/Wallet/views/Dashboard'; import WalletDeviceSettings from 'views/Wallet/views/DeviceSettings'; import WalletSettings from 'views/Wallet/views/WalletSettings'; @@ -23,7 +25,6 @@ import WalletUnreadableDevice from 'views/Wallet/views/UnreadableDevice'; // wallet views - accounts // import SummaryContainer from './Wallet/components/Summary/Container'; import AccountContainer from 'views/Wallet/views/Account/Container'; -import SignVerifyContainer from './Wallet/components/Sign'; import store, { history } from '../store'; @@ -46,10 +47,10 @@ const App = () => ( - +