mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-28 03:08:30 +00:00
Move wallet's "Receive" component to wallet's views
This commit is contained in:
parent
445a1a07bb
commit
b5cc5edc45
@ -16,7 +16,7 @@ const StyledH2 = styled(H2)`
|
|||||||
padding: 20px 48px;
|
padding: 20px 48px;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const Receive = (props: Props) => {
|
const AccountReceive = (props: Props) => {
|
||||||
const device = props.wallet.selectedDevice;
|
const device = props.wallet.selectedDevice;
|
||||||
const {
|
const {
|
||||||
account,
|
account,
|
@ -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 AccountReceive from 'views/Wallet/views/AccountReceive/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';
|
||||||
@ -22,7 +23,6 @@ import WalletUnreadableDevice from 'views/Wallet/views/UnreadableDevice';
|
|||||||
// 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 SignVerifyContainer from './Wallet/components/Sign';
|
||||||
import ReceiveContainer from './Wallet/components/Receive/Container';
|
|
||||||
import SendFormContainer from './Wallet/components/Send/Container';
|
import SendFormContainer from './Wallet/components/Send/Container';
|
||||||
|
|
||||||
import store, { history } from '../store';
|
import store, { history } from '../store';
|
||||||
@ -48,8 +48,8 @@ const App = () => (
|
|||||||
<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/send" component={SendFormContainer} />
|
<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/send/override" component={SendFormContainer} />
|
||||||
<Route path="/device/:device/network/:network/account/:account/receive" component={ReceiveContainer} />
|
|
||||||
<Route path="/device/:device/network/:network/account/:account/signverify" component={SignVerifyContainer} />
|
<Route path="/device/:device/network/:network/account/:account/signverify" component={SignVerifyContainer} />
|
||||||
|
<Route path="/device/:device/network/:network/account/:account/receive" component={AccountReceive} />
|
||||||
</WalletContainer>
|
</WalletContainer>
|
||||||
</ErrorBoundary>
|
</ErrorBoundary>
|
||||||
</Route>
|
</Route>
|
||||||
|
Loading…
Reference in New Issue
Block a user