mirror of
https://github.com/wassname/talk.git
synced 2026-07-01 23:34:14 +08:00
fix lint errors
This commit is contained in:
@@ -10,7 +10,7 @@ import ProfileContainer from 'coral-settings/containers/ProfileContainer';
|
||||
import ConfigureStreamContainer
|
||||
from 'coral-configure/containers/ConfigureStreamContainer';
|
||||
|
||||
export default class Embed extends React.Component {
|
||||
export default class Embed extends React.Component {
|
||||
changeTab = (tab) => {
|
||||
switch (tab) {
|
||||
case 0:
|
||||
@@ -42,9 +42,9 @@ export default class Embed extends React.Component {
|
||||
<div>
|
||||
<div className="commentStream">
|
||||
<TabBar onChange={this.changeTab} activeTab={activeTab} cNames={'tabbar'}>
|
||||
<Tab cNames={`comment-count`}><Count count={totalCommentCount} /></Tab>
|
||||
<Tab cNames={`my-comments`}>{t('framework.my_profile')}</Tab>
|
||||
<Tab cNames={`comment-configuration`} restricted={!can(user, 'UPDATE_CONFIG')}>{t('framework.configure_stream')}</Tab>
|
||||
<Tab cNames={'comment-count'}><Count count={totalCommentCount} /></Tab>
|
||||
<Tab cNames={'comment-profile'}>{t('framework.my_profile')}</Tab>
|
||||
<Tab cNames={'comment-configuration'} restricted={!can(user, 'UPDATE_CONFIG')}>{t('framework.configure_stream')}</Tab>
|
||||
</TabBar>
|
||||
{commentId &&
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user