Fix linting

This commit is contained in:
Paul Kaplan committed 2018-05-10 14:50:08 -04:00
1 parent 4d73709aa6
commit de6637e491
2 files changed
+6 -5

No files matched your search

+3 -3
View File
@@ -165,14 +165,14 @@ class ListMonitor extends React.Component {
}
ListMonitor.propTypes = {
height: PropTypes.number,
id: PropTypes.string,
targetId: PropTypes.string,
value: PropTypes.oneOfType([
PropTypes.number,
PropTypes.string
]),
vm: PropTypes.instanceOf(VM),
targetId: PropTypes.string,
id: PropTypes.string,
height: PropTypes.number,
width: PropTypes.number,
x: PropTypes.number,
y: PropTypes.number
+3 -2
View File
@@ -107,13 +107,13 @@ class Monitor extends React.Component {
max={this.props.max}
min={this.props.min}
mode={this.state.mode}
targetId={this.props.targetId}
width={this.props.width}
onDragEnd={this.handleDragEnd}
onNextMode={this.handleNextMode}
onSetModeToDefault={this.handleSetModeToDefault}
onSetModeToLarge={this.handleSetModeToLarge}
onSetModeToSlider={showSliderOption ? this.handleSetModeToSlider : null}
targetId={this.props.targetId}
width={this.props.width}
/>
);
}
@@ -136,6 +136,7 @@ Monitor.propTypes = {
removeMonitorRect: PropTypes.func.isRequired,
resizeMonitorRect: PropTypes.func.isRequired,
spriteName: PropTypes.string, // eslint-disable-line react/no-unused-prop-types
targetId: PropTypes.string,
value: PropTypes.oneOfType([
PropTypes.string,
PropTypes.number,