1
0
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:
Vasek Mlejnsky 2018-08-27 12:29:13 +02:00
parent 445a1a07bb
commit b5cc5edc45
3 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ const StyledH2 = styled(H2)`
padding: 20px 48px;
`;
const Receive = (props: Props) => {
const AccountReceive = (props: Props) => {
const device = props.wallet.selectedDevice;
const {
account,

View File

@ -10,6 +10,7 @@ import LandingContainer from 'views/Landing/Container';
// wallet views
import WalletContainer from 'views/Wallet';
import AccountReceive from 'views/Wallet/views/AccountReceive/Container';
import WalletDashboard from 'views/Wallet/views/Dashboard';
import WalletDeviceSettings from 'views/Wallet/views/DeviceSettings';
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 AccountContainer from 'views/Wallet/views/Account/Container';
import SignVerifyContainer from './Wallet/components/Sign';
import ReceiveContainer from './Wallet/components/Receive/Container';
import SendFormContainer from './Wallet/components/Send/Container';
import store, { history } from '../store';
@ -48,8 +48,8 @@ const App = () => (
<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/receive" component={ReceiveContainer} />
<Route path="/device/:device/network/:network/account/:account/signverify" component={SignVerifyContainer} />
<Route path="/device/:device/network/:network/account/:account/receive" component={AccountReceive} />
</WalletContainer>
</ErrorBoundary>
</Route>