Prettier + close button

This commit is contained in:
Fred Carlsen
2019-02-13 00:05:38 +01:00
committed by Jacob Evans
parent 43ad27931c
commit b7fcc70cd9
12 changed files with 225 additions and 109 deletions

View File

@@ -60,7 +60,14 @@ export class AddressTable extends React.Component<AddressTableProps, AddressTabl
const balanceInEth = Web3Wrapper.toUnitAmount(balanceInWei, constants.DECIMAL_PLACES_ETH);
const balanceString = `${balanceInEth.toString()} ${isKovanNetwork ? 'Kovan ' : ''}ZRX`;
return (
<AddressTableRow key={addressRowId} address={userAddress} balance={balanceString} isActive={selectedAddressIndex === i} value={i} onSelectAddress={this._onSelectAddress.bind(this)} />
<AddressTableRow
key={addressRowId}
address={userAddress}
balance={balanceString}
isActive={selectedAddressIndex === i}
value={i}
onSelectAddress={this._onSelectAddress.bind(this)}
/>
);
});
return rows;