mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-09 17:55:35 +08:00
lint(*): Fix linter errors from QA fixes
This commit is contained in:
parent
4329f53ce8
commit
ba0251fd7e
4 changed files with 5 additions and 7 deletions
|
@ -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);
|
||||
|
|
|
@ -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.",
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue