Fix lint issues

This commit is contained in:
Chi Vinh Le
2018-03-09 19:58:54 +01:00
parent 3c854d0468
commit 0708025f81
2 changed files with 2 additions and 5 deletions
@@ -2,7 +2,7 @@ import React from 'react';
import cn from 'classnames';
import styles from './SortOption.css';
import PropTypes from 'prop-types';
import {PLUGIN_NAME} from '../../constants';
import { PLUGIN_NAME } from '../../constants';
export default class SortOption extends React.Component {
render() {
@@ -12,9 +12,7 @@ export default class SortOption extends React.Component {
{ [`${PLUGIN_NAME}-sort-option-active`]: this.props.active },
]);
return (
<label
className={className}
>
<label className={className}>
<input
type="radio"
onChange={this.props.setSort}
@@ -4,4 +4,3 @@ export const PLUGIN_NAME = 'talk-plugin-viewing-options';
const prefix = 'TALK_VIEWING_OPTIONS';
export const OPEN_MENU = `${prefix}_OPEN_MENU`;
export const CLOSE_MENU = `${prefix}_CLOSE_MENU`;