mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-24 09:18:09 +00:00
Move wallet's "Send" component to wallet's views and name it "AccountSend"
This commit is contained in:
parent
b5cc5edc45
commit
b8c0a577cc
@ -14,7 +14,7 @@ import SelectedAccount from '../SelectedAccount';
|
||||
|
||||
import type { Props } from './index';
|
||||
|
||||
export default class SendContainer extends Component<Props> {
|
||||
export default class AccountSendContainer extends Component<Props> {
|
||||
componentWillReceiveProps(newProps: Props) {
|
||||
calculate(this.props, newProps);
|
||||
validation(newProps);
|
@ -10,6 +10,7 @@ import LandingContainer from 'views/Landing/Container';
|
||||
|
||||
// wallet views
|
||||
import WalletContainer from 'views/Wallet';
|
||||
import AccountSend from 'views/Wallet/views/AccountSend/Container';
|
||||
import AccountReceive from 'views/Wallet/views/AccountReceive/Container';
|
||||
import WalletDashboard from 'views/Wallet/views/Dashboard';
|
||||
import WalletDeviceSettings from 'views/Wallet/views/DeviceSettings';
|
||||
@ -23,7 +24,6 @@ import WalletUnreadableDevice from 'views/Wallet/views/UnreadableDevice';
|
||||
// import SummaryContainer from './Wallet/components/Summary/Container';
|
||||
import AccountContainer from 'views/Wallet/views/Account/Container';
|
||||
import SignVerifyContainer from './Wallet/components/Sign';
|
||||
import SendFormContainer from './Wallet/components/Send/Container';
|
||||
|
||||
import store, { history } from '../store';
|
||||
|
||||
@ -46,9 +46,9 @@ const App = () => (
|
||||
<Route exact path="/device/:device/initialize" component={WalletInitialize} />
|
||||
<Route exact path="/device/:device/settings" component={WalletDeviceSettings} />
|
||||
<Route exact path="/device/:device/network/:network/account/:account" component={AccountContainer} />
|
||||
<Route path="/device/:device/network/:network/account/:account/send" component={SendFormContainer} />
|
||||
<Route path="/device/:device/network/:network/account/:account/send/override" component={SendFormContainer} />
|
||||
<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/override" component={AccountSend} />
|
||||
<Route path="/device/:device/network/:network/account/:account/receive" component={AccountReceive} />
|
||||
</WalletContainer>
|
||||
</ErrorBoundary>
|
||||
|
Loading…
Reference in New Issue
Block a user