Remove fragment from journal view.

master
Tom Hacohen 7 years ago
parent afb940d51a
commit 87d150554c

@ -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 (
<Fragment>
<Tabs>
<Tab
label={itemsTitle}
>
<h2>{collectionInfo.displayName}</h2>
{itemsView}
</Tab>
<Tab
label="Journal Entries"
>
<h2>{collectionInfo.displayName}</h2>
<JournalViewEntries journal={journal} entries={syncEntries} />;
</Tab>
</Tabs>
</Fragment>
<Tabs>
<Tab
label={itemsTitle}
>
<h2>{collectionInfo.displayName}</h2>
{itemsView}
</Tab>
<Tab
label="Journal Entries"
>
<h2>{collectionInfo.displayName}</h2>
<JournalViewEntries journal={journal} entries={syncEntries} />;
</Tab>
</Tabs>
);
}
}

Loading…
Cancel
Save