From 87d150554c1b6621c6be8c32c155f836312f4c78 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Wed, 6 Dec 2017 23:04:35 +0000 Subject: [PATCH] Remove fragment from journal view. --- src/JournalView.tsx | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/src/JournalView.tsx b/src/JournalView.tsx index 44c50af..69931c7 100644 --- a/src/JournalView.tsx +++ b/src/JournalView.tsx @@ -1,5 +1,4 @@ import * as React from 'react'; -const Fragment = (React as any).Fragment; import { connect } from 'react-redux'; import { withRouter } from 'react-router'; import { Tabs, Tab } from 'material-ui/Tabs'; @@ -81,22 +80,20 @@ class JournalView extends React.Component { } return ( - - - -

{collectionInfo.displayName}

- {itemsView} -
- -

{collectionInfo.displayName}

- ; -
-
-
+ + +

{collectionInfo.displayName}

+ {itemsView} +
+ +

{collectionInfo.displayName}

+ ; +
+
); } }