mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-28 03:08:30 +00:00
Move wallet's "Sign" component to wallet's views and name it "AccountSignVerify"
This commit is contained in:
parent
b8c0a577cc
commit
75c8f59ac9
@ -40,7 +40,7 @@ const Textarea = styled.textarea`
|
|||||||
|
|
||||||
const Input = styled.input``;
|
const Input = styled.input``;
|
||||||
|
|
||||||
const SignVerify = () => (
|
const AccountSignVerify = () => (
|
||||||
<Wrapper>
|
<Wrapper>
|
||||||
<Sign>
|
<Sign>
|
||||||
<StyledH2>Sign message</StyledH2>
|
<StyledH2>Sign message</StyledH2>
|
||||||
@ -63,4 +63,4 @@ const SignVerify = () => (
|
|||||||
</Wrapper>
|
</Wrapper>
|
||||||
);
|
);
|
||||||
|
|
||||||
export default SignVerify;
|
export default AccountSignVerify;
|
@ -12,6 +12,8 @@ import LandingContainer from 'views/Landing/Container';
|
|||||||
import WalletContainer from 'views/Wallet';
|
import WalletContainer from 'views/Wallet';
|
||||||
import AccountSend from 'views/Wallet/views/AccountSend/Container';
|
import AccountSend from 'views/Wallet/views/AccountSend/Container';
|
||||||
import AccountReceive from 'views/Wallet/views/AccountReceive/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 WalletDashboard from 'views/Wallet/views/Dashboard';
|
||||||
import WalletDeviceSettings from 'views/Wallet/views/DeviceSettings';
|
import WalletDeviceSettings from 'views/Wallet/views/DeviceSettings';
|
||||||
import WalletSettings from 'views/Wallet/views/WalletSettings';
|
import WalletSettings from 'views/Wallet/views/WalletSettings';
|
||||||
@ -23,7 +25,6 @@ import WalletUnreadableDevice from 'views/Wallet/views/UnreadableDevice';
|
|||||||
// wallet views - accounts
|
// wallet views - accounts
|
||||||
// import SummaryContainer from './Wallet/components/Summary/Container';
|
// import SummaryContainer from './Wallet/components/Summary/Container';
|
||||||
import AccountContainer from 'views/Wallet/views/Account/Container';
|
import AccountContainer from 'views/Wallet/views/Account/Container';
|
||||||
import SignVerifyContainer from './Wallet/components/Sign';
|
|
||||||
|
|
||||||
import store, { history } from '../store';
|
import store, { history } from '../store';
|
||||||
|
|
||||||
@ -46,10 +47,10 @@ const App = () => (
|
|||||||
<Route exact path="/device/:device/initialize" component={WalletInitialize} />
|
<Route exact path="/device/:device/initialize" component={WalletInitialize} />
|
||||||
<Route exact path="/device/:device/settings" component={WalletDeviceSettings} />
|
<Route exact path="/device/:device/settings" component={WalletDeviceSettings} />
|
||||||
<Route exact path="/device/:device/network/:network/account/:account" component={AccountContainer} />
|
<Route exact path="/device/:device/network/:network/account/:account" component={AccountContainer} />
|
||||||
<Route path="/device/:device/network/:network/account/:account/signverify" component={SignVerifyContainer} />
|
|
||||||
<Route path="/device/:device/network/:network/account/:account/send" component={AccountSend} />
|
<Route path="/device/:device/network/:network/account/:account/send" component={AccountSend} />
|
||||||
<Route path="/device/:device/network/:network/account/:account/send/override" component={AccountSend} />
|
<Route path="/device/:device/network/:network/account/:account/send/override" component={AccountSend} />
|
||||||
<Route path="/device/:device/network/:network/account/:account/receive" component={AccountReceive} />
|
<Route path="/device/:device/network/:network/account/:account/receive" component={AccountReceive} />
|
||||||
|
<Route path="/device/:device/network/:network/account/:account/signverify" component={AccountSignVerify} />
|
||||||
</WalletContainer>
|
</WalletContainer>
|
||||||
</ErrorBoundary>
|
</ErrorBoundary>
|
||||||
</Route>
|
</Route>
|
||||||
|
Loading…
Reference in New Issue
Block a user