resolve linter errors
parent
993137025f
commit
15ee3644fb
|
@ -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 = {
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -28,7 +28,7 @@ class Crosshair extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
const {func, number, shape, string} = PropTypes
|
||||
const {number, shape, string} = PropTypes
|
||||
|
||||
Crosshair.propTypes = {
|
||||
dygraph: shape({}),
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue