Linting and Indenting

This commit is contained in:
Belen Curcio
2017-09-08 17:17:03 -03:00
parent 790c20e7ac
commit 72530e7501
5 changed files with 7 additions and 8 deletions
@@ -210,7 +210,7 @@ export default class Comment extends React.Component {
}
commentIsRejected(comment) {
return comment.status === "REJECTED";
return comment.status === 'REJECTED';
}
commentIsIgnored(comment) {
@@ -9,9 +9,9 @@ class CommentTombstone extends React.Component {
switch (action) {
case 'ignore':
return t('framework.comment_is_ignored')
return t('framework.comment_is_ignored');
case 'reject':
return t('framework.comment_is_rejected')
return t('framework.comment_is_rejected');
default :
return t('framework.comment_is_hidden');
}
@@ -26,7 +26,7 @@ class ApproveCommentActionContainer extends React.Component {
}
render() {
return <ApproveCommentAction comment={this.props.comment} approveComment={this.approveComment}/>
return <ApproveCommentAction comment={this.props.comment} approveComment={this.approveComment}/>;
}
}
@@ -1,8 +1,7 @@
import React from 'react';
import {gql, compose} from 'react-apollo';
import {connect, excludeIf, withFragments} from 'plugin-api/beta/client/hocs';
import ModerationActions from '../components/ModerationActions';
import {can} from 'plugin-api/beta/client/services';
import ModerationActions from '../components/ModerationActions';
import {connect, excludeIf, withFragments} from 'plugin-api/beta/client/hocs';
const mapStateToProps = ({auth}) => ({
user: auth.user
@@ -26,7 +26,7 @@ class RejectCommentActionContainer extends React.Component {
}
render() {
return <RejectCommentAction rejectComment={this.rejectComment}/>
return <RejectCommentAction rejectComment={this.rejectComment}/>;
}
}