resolve linter errors

pull/2940/head
Deniz Kusefoglu 2018-03-11 21:06:23 -07:00
parent 993137025f
commit 15ee3644fb
4 changed files with 2 additions and 6 deletions

View File

@ -4,7 +4,6 @@ import {withRouter} from 'react-router'
import {bindActionCreators} from 'redux'
import _ from 'lodash'
import Dygraph from 'src/external/dygraph'
import {isUserAuthorized, EDITOR_ROLE} from 'src/auth/Authorized'
@ -32,7 +31,7 @@ import {
templateControlBarVisibilityToggled as templateControlBarVisibilityToggledAction,
} from 'shared/actions/app'
import {presentationButtonDispatcher} from 'shared/dispatchers'
import {DASHBOARD_LAYOUT_ROW_HEIGHT, DYGRAPH_CELL_TYPES} from 'shared/constants'
import {DASHBOARD_LAYOUT_ROW_HEIGHT} from 'shared/constants'
const FORMAT_INFLUXQL = 'influxql'
const defaultTimeRange = {

View File

@ -4,8 +4,6 @@ import {bindActionCreators} from 'redux'
import _ from 'lodash'
import classnames from 'classnames'
import Dygraph from 'src/external/dygraph'
import LayoutRenderer from 'shared/components/LayoutRenderer'
import DashboardHeader from 'src/dashboards/components/DashboardHeader'
import FancyScrollbar from 'shared/components/FancyScrollbar'

View File

@ -28,7 +28,7 @@ class Crosshair extends Component {
}
}
const {func, number, shape, string} = PropTypes
const {number, shape, string} = PropTypes
Crosshair.propTypes = {
dygraph: shape({}),

View File

@ -21,7 +21,6 @@ class TableGraph extends Component {
}
componentWillUpdate(nextProps) {
// TODO: determine if in dataExplorer
const {labels, data} = timeSeriesToTableGraph(nextProps.data)
this._labels = labels
this._data = data