Fix linting
This commit is contained in:
1 parent
4d73709aa6
commit
de6637e491
2 files changed
+6
-5
No files matched your search
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user