accounts.js -> Parity-reactive-ui accountCard

This commit is contained in:
kaikun213 2017-07-27 13:24:00 +02:00
parent cd0fbbe948
commit e317fcf1d8

View File

@ -41,7 +41,8 @@ import Shapeshift from './Shapeshift';
import Transfer from './Transfer'; import Transfer from './Transfer';
import Verification from './Verification'; import Verification from './Verification';
import Header from './Header'; import { AccountCard } from 'parity-reactive-ui';
import Store from './store'; import Store from './store';
import Transactions from './Transactions'; import Transactions from './Transactions';
import styles from './account.css'; import styles from './account.css';
@ -136,10 +137,7 @@ class Account extends Component {
{ this.renderVerificationDialog() } { this.renderVerificationDialog() }
{ this.renderActionbar(account) } { this.renderActionbar(account) }
<Page padded> <Page padded>
<Header <AccountCard account={ account } disabled={ !isAvailable } />
account={ account }
disabled={ !isAvailable }
/>
<Transactions <Transactions
address={ address } address={ address }
/> />