mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-12 15:16:37 +00:00
replace reduce by a map to fix case where array is empty
This commit is contained in:
parent
921c99b201
commit
1a20b7b9ae
@ -29,7 +29,7 @@ const Transactions = ({transactions}) => (
|
||||
</Table.Header>
|
||||
<Table.Body>
|
||||
{
|
||||
transactions.reduce((transaction) => {
|
||||
transactions.map((transaction) => {
|
||||
return (
|
||||
<Table.Row key={transaction.hash}>
|
||||
<Table.Col><Link to={`/embark/explorer/transactions/${transaction.hash}`}>{transaction.hash}</Link></Table.Col>
|
||||
|
Loading…
x
Reference in New Issue
Block a user