From eaf7de1c4797d7cd89481831e1beb5fa3c1e6c7a Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Thu, 7 Dec 2017 22:39:48 +0000 Subject: [PATCH] Remove the react fragment hack. --- src/Contact.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Contact.tsx b/src/Contact.tsx index 5d946ff..160befd 100644 --- a/src/Contact.tsx +++ b/src/Contact.tsx @@ -1,5 +1,4 @@ import * as React from 'react'; -const Fragment = (React as any).Fragment; import { List, ListItem } from 'material-ui/List'; import Divider from 'material-ui/Divider'; import CommunicationCall from 'material-ui/svg-icons/communication/call'; @@ -73,12 +72,12 @@ class ViewContact extends React.Component { function listIfNotEmpty(items: Array>) { if (items.length > 0) { return ( - + {items} - + ); } else { return undefined;