lint(*): Fix linter errors from QA fixes

This commit is contained in:
Ben Gotow 2016-04-06 16:15:46 -07:00
parent d3f2d65610
commit b16b465fd9
4 changed files with 5 additions and 7 deletions

View file

@ -8,6 +8,10 @@ import {CALENDAR_ID} from '../scheduler-constants'
export default class ProposedTimeEvent extends React.Component {
static displayName = "ProposedTimeEvent";
static propTypes = {
event: React.PropTypes.object,
}
// Since ProposedTimeEvent is part of an Injected Component set, by
// default it's placed in its own container that's rendered separately.
//
@ -20,10 +24,6 @@ export default class ProposedTimeEvent extends React.Component {
// to `false`
static containerRequired = false;
static propTypes = {
event: React.PropTypes.object,
}
_onMouseDown(event) {
event.stopPropagation();
SchedulerActions.removeProposedTime(event.target.dataset);

View file

@ -47,7 +47,7 @@ export default class ProposedTimePicker extends React.Component {
_bannerComponents = () => {
return {
week: "Click and drag to propose times."
week: "Click and drag to propose times.",
}
}

View file

@ -1,4 +1,3 @@
import _ from 'underscore';
import {React} from 'nylas-exports'
import {RetinaImg} from 'nylas-component-kit'
import {PLUGIN_ID} from './open-tracking-constants'

View file

@ -3,7 +3,6 @@ import React from 'react'
import ReactDOM from 'react-dom'
import moment from 'moment'
import classnames from 'classnames'
import {RetinaImg} from 'nylas-component-kit'
import {Utils} from 'nylas-exports'
import TopBanner from './top-banner'