diff --git a/src/containers/list-monitor.jsx b/src/containers/list-monitor.jsx index a4655f70270e58c2a17d24a7153cd8112b632b0a..a20d601565778b12dcd4af370b5376f4f04da3da 100644 --- a/src/containers/list-monitor.jsx +++ b/src/containers/list-monitor.jsx @@ -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 diff --git a/src/containers/monitor.jsx b/src/containers/monitor.jsx index c39b563026f78ced7181ba0e484221aec05c038f..b2480a41299ed592a11a0fa115eea292ba81c6fb 100644 --- a/src/containers/monitor.jsx +++ b/src/containers/monitor.jsx @@ -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,