mirror of
https://github.com/wassname/talk.git
synced 2026-07-07 08:16:40 +08:00
It removes duplicated code.
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user