1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-24 09:18:09 +00:00

Move wallet's "Account" component to wallet's view and name it "AccountSummary"

This commit is contained in:
Vasek Mlejnsky 2018-08-27 12:34:01 +02:00
parent 75c8f59ac9
commit c0af63cc5c
5 changed files with 2 additions and 5 deletions

View File

@ -10,6 +10,7 @@ import LandingContainer from 'views/Landing/Container';
// wallet views // wallet views
import WalletContainer from 'views/Wallet'; import WalletContainer from 'views/Wallet';
import AccountSummary from 'views/Wallet/views/AccountSummary/Container';
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 AccountSignVerify from 'views/Wallet/views/AccountSignVerify/Container';
@ -22,10 +23,6 @@ import WalletInitialize from 'views/Wallet/views/Initialize';
import WalletAcquire from 'views/Wallet/views/Acquire'; import WalletAcquire from 'views/Wallet/views/Acquire';
import WalletUnreadableDevice from 'views/Wallet/views/UnreadableDevice'; 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 store, { history } from '../store'; import store, { history } from '../store';
const App = () => ( const App = () => (
@ -46,7 +43,7 @@ const App = () => (
<Route exact path="/device/:device/bootloader" component={WalletBootloader} /> <Route exact path="/device/:device/bootloader" component={WalletBootloader} />
<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={AccountSummary} />
<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} />