1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-02-02 11:21:11 +00:00

Add key prop

This commit is contained in:
Vasek Mlejnsky 2018-09-20 09:12:05 +02:00
parent 6fabec6e5c
commit d3da73ddc5

View File

@ -125,7 +125,9 @@ class PendingTransactions extends Component<Props> {
<Wrapper> <Wrapper>
<H2>Pending transactions</H2> <H2>Pending transactions</H2>
{this.getPendingTransactions().map(tx => ( {this.getPendingTransactions().map(tx => (
<TransactionWrapper> <TransactionWrapper
key={tx.id}
>
<TransactionIcon <TransactionIcon
color={() => this.getTransactionIconColors(tx).color} color={() => this.getTransactionIconColors(tx).color}
background={() => this.getTransactionIconColors(tx).background} background={() => this.getTransactionIconColors(tx).background}