* Etherscan links (#4772) * Port tests * update address links * Signer accountlink isTest
This commit is contained in:
committed by
Arkadiy Paronyan
parent
02be8d869c
commit
260bcfd368
@@ -25,7 +25,7 @@ import txListStyles from '~/ui/TxList/txList.css';
|
||||
export default class WalletTransactions extends Component {
|
||||
static propTypes = {
|
||||
address: PropTypes.string.isRequired,
|
||||
isTest: PropTypes.bool.isRequired,
|
||||
netVersion: PropTypes.string.isRequired,
|
||||
transactions: PropTypes.array
|
||||
};
|
||||
|
||||
@@ -43,7 +43,7 @@ export default class WalletTransactions extends Component {
|
||||
);
|
||||
}
|
||||
renderTransactions () {
|
||||
const { address, isTest, transactions } = this.props;
|
||||
const { address, netVersion, transactions } = this.props;
|
||||
|
||||
if (!transactions) {
|
||||
return null;
|
||||
@@ -62,6 +62,7 @@ export default class WalletTransactions extends Component {
|
||||
|
||||
return (
|
||||
<TxRow
|
||||
netVersion={ netVersion }
|
||||
key={ `${transactionHash}_${index}` }
|
||||
tx={ {
|
||||
hash: transactionHash,
|
||||
@@ -69,7 +70,6 @@ export default class WalletTransactions extends Component {
|
||||
blockNumber, from, to, value
|
||||
} }
|
||||
address={ address }
|
||||
isTest={ isTest }
|
||||
/>
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user