mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-10-06 11:16:10 +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 {
|
export default class ProposedTimeEvent extends React.Component {
|
||||||
static displayName = "ProposedTimeEvent";
|
static displayName = "ProposedTimeEvent";
|
||||||
|
|
||||||
|
static propTypes = {
|
||||||
|
event: React.PropTypes.object,
|
||||||
|
}
|
||||||
|
|
||||||
// Since ProposedTimeEvent is part of an Injected Component set, by
|
// Since ProposedTimeEvent is part of an Injected Component set, by
|
||||||
// default it's placed in its own container that's rendered separately.
|
// 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`
|
// to `false`
|
||||||
static containerRequired = false;
|
static containerRequired = false;
|
||||||
|
|
||||||
static propTypes = {
|
|
||||||
event: React.PropTypes.object,
|
|
||||||
}
|
|
||||||
|
|
||||||
_onMouseDown(event) {
|
_onMouseDown(event) {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
SchedulerActions.removeProposedTime(event.target.dataset);
|
SchedulerActions.removeProposedTime(event.target.dataset);
|
||||||
|
|
|
@ -47,7 +47,7 @@ export default class ProposedTimePicker extends React.Component {
|
||||||
|
|
||||||
_bannerComponents = () => {
|
_bannerComponents = () => {
|
||||||
return {
|
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 {React} from 'nylas-exports'
|
||||||
import {RetinaImg} from 'nylas-component-kit'
|
import {RetinaImg} from 'nylas-component-kit'
|
||||||
import {PLUGIN_ID} from './open-tracking-constants'
|
import {PLUGIN_ID} from './open-tracking-constants'
|
||||||
|
|
|
@ -3,7 +3,6 @@ import React from 'react'
|
||||||
import ReactDOM from 'react-dom'
|
import ReactDOM from 'react-dom'
|
||||||
import moment from 'moment'
|
import moment from 'moment'
|
||||||
import classnames from 'classnames'
|
import classnames from 'classnames'
|
||||||
import {RetinaImg} from 'nylas-component-kit'
|
|
||||||
import {Utils} from 'nylas-exports'
|
import {Utils} from 'nylas-exports'
|
||||||
|
|
||||||
import TopBanner from './top-banner'
|
import TopBanner from './top-banner'
|
||||||
|
|
Loading…
Add table
Reference in a new issue