It removes duplicated code.

This commit is contained in:
gaba
2016-12-08 18:16:37 -10:00
parent 9bfac3872e
commit a46ffe8ea6
@@ -277,12 +277,6 @@ class CommentStream extends Component {
<CloseCommentsInfo onClick={this.toggleStatus} status={status} />
</RestrictedContent>
</TabContent>
<TabContent show={activeTab === 2}>
<h3>{status === 'open' ? 'Close' : 'Open'} Comment Stream</h3>
<RestrictedContent restricted={!loggedIn}>
<CloseCommentsInfo onClick={this.toggleStatus} status={status} />
</RestrictedContent>
</TabContent>
<Notification
notifLength={4500}
clearNotification={this.props.clearNotification}