Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Delaney committed Apr 17, 2019
1 parent a7a5b15 commit 67dd10a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions chump/src/components/create_article_form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,7 @@ export class CreateArticleForm extends RootComponent<IFormProps, IFormState> {
onChange={this.handleTagInputChange}
onlyUnique={true}
maxTags={7}
inputProps={{
className: 'react-tagsinput-input',
placeholder: config.add_tag,
}}
inputProps={{ className: "react-tagsinput-input", placeholder: config.add_tag }}
/>
<textarea
name="blogText"
Expand Down
6 changes: 3 additions & 3 deletions chump/src/components/follow_button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ export class FollowButton extends RootComponent<IFormProps, IFormState> {

public render() {
const noFollower = (typeof this.props.follower === "undefined" ||
this.props.follower === "")
this.props.follower === "");

const noHost = (typeof this.props.followed_host === "undefined" ||
this.props.followed_host === "")
this.props.followed_host === "");

if (noFollower || (this.props.follower === this.props.followed && noHost )) {
if (noFollower || (this.props.follower === this.props.followed && noHost)) {
return null;
}
return (
Expand Down

0 comments on commit 67dd10a

Please sign in to comment.