From 1a20b7b9ae64c031e173b82fe1a5427fd5c061a4 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Wed, 3 Oct 2018 11:45:39 -0400 Subject: [PATCH] replace reduce by a map to fix case where array is empty --- embark-ui/src/components/Transactions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embark-ui/src/components/Transactions.js b/embark-ui/src/components/Transactions.js index 9d0764157..82a52fa76 100644 --- a/embark-ui/src/components/Transactions.js +++ b/embark-ui/src/components/Transactions.js @@ -29,7 +29,7 @@ const Transactions = ({transactions}) => ( { - transactions.reduce((transaction) => { + transactions.map((transaction) => { return ( {transaction.hash}