1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-30 19:00:53 +00:00

rename coin specific components

This commit is contained in:
Szymon Lesisz 2018-11-27 11:44:23 +01:00
parent 6449749492
commit 0128a16602
2 changed files with 8 additions and 8 deletions

View File

@ -405,8 +405,8 @@ export default AccountSend;
import { connect } from 'react-redux';
import type { State } from 'flowtype';
import EthereumSend from './ethereum/Container';
import RippleSend from './ripple/Container';
import EthereumTypeSendForm from './ethereum/Container';
import RippleTypeSendForm from './ripple/Container';
export type BaseProps = {
selectedAccount: $ElementType<State, 'selectedAccount'>,
@ -421,9 +421,9 @@ export default connect((state: State): BaseProps => ({
switch (network.type) {
case 'ethereum':
return <EthereumSend />;
return <EthereumTypeSendForm />;
case 'ripple':
return <RippleSend />;
return <RippleTypeSendForm />;
default:
return null;
}

View File

@ -3,8 +3,8 @@ import React from 'react';
import { connect } from 'react-redux';
import type { State } from 'flowtype';
import EthereumSummary from './ethereum/Container';
import RippleSummary from './ripple/Container';
import EthereumTypeSummary from './ethereum/Container';
import RippleTypeSummary from './ripple/Container';
type WrapperProps = {
selectedAccount: $ElementType<State, 'selectedAccount'>,
@ -19,9 +19,9 @@ export default connect((state: State): WrapperProps => ({
switch (network.type) {
case 'ethereum':
return <EthereumSummary />;
return <EthereumTypeSummary />;
case 'ripple':
return <RippleSummary />;
return <RippleTypeSummary />;
default:
return null;
}