From 9c198d00f163c9e6a57f5458bb1ff161b2d5eeda Mon Sep 17 00:00:00 2001 From: George Lima Date: Wed, 19 Dec 2018 10:48:26 -0300 Subject: [PATCH] hotfix: use Fragment in TransactionDaily --- app/components/transaction-daily.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/components/transaction-daily.js b/app/components/transaction-daily.js index 68a3cd7..db37d7f 100644 --- a/app/components/transaction-daily.js +++ b/app/components/transaction-daily.js @@ -1,5 +1,5 @@ // @flow -import React from 'react'; +import React, { Fragment } from 'react'; import styled from 'styled-components'; import { TransactionItemComponent, type Transaction } from './transaction-item'; import { TextComponent } from './text'; @@ -49,7 +49,7 @@ export const TransactionDailyComponent = ({ {transactions.map(({ date, type, address, amount, }, idx) => ( -
+ {idx < transactions.length - 1 && } -
+ ))}