diff --git a/internal_packages/N1-Scheduler/lib/calendar/proposed-time-event.jsx b/internal_packages/N1-Scheduler/lib/calendar/proposed-time-event.jsx index 7ab944df9..8d87f7e5b 100644 --- a/internal_packages/N1-Scheduler/lib/calendar/proposed-time-event.jsx +++ b/internal_packages/N1-Scheduler/lib/calendar/proposed-time-event.jsx @@ -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); diff --git a/internal_packages/N1-Scheduler/lib/calendar/proposed-time-picker.jsx b/internal_packages/N1-Scheduler/lib/calendar/proposed-time-picker.jsx index a28d07850..45342b81d 100644 --- a/internal_packages/N1-Scheduler/lib/calendar/proposed-time-picker.jsx +++ b/internal_packages/N1-Scheduler/lib/calendar/proposed-time-picker.jsx @@ -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.", } } diff --git a/internal_packages/open-tracking/lib/open-tracking-icon.jsx b/internal_packages/open-tracking/lib/open-tracking-icon.jsx index 0fac300ad..e8b45adea 100644 --- a/internal_packages/open-tracking/lib/open-tracking-icon.jsx +++ b/internal_packages/open-tracking/lib/open-tracking-icon.jsx @@ -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' diff --git a/src/components/nylas-calendar/week-view.jsx b/src/components/nylas-calendar/week-view.jsx index e29c6d918..efaad4dcf 100644 --- a/src/components/nylas-calendar/week-view.jsx +++ b/src/components/nylas-calendar/week-view.jsx @@ -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'