Skip to content
Snippets Groups Projects
Unverified Commit 97b0d59e authored by Paul Kaplan's avatar Paul Kaplan Committed by GitHub
Browse files

Merge pull request #1365 from kchadha/monitor-proptype

Fixing monitor prop type warning for scalar variable monitors.
parents 6bbb0e68 ed0b3c07
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,9 @@ MonitorComponent.propTypes = {
componentRef: PropTypes.func.isRequired,
label: PropTypes.string.isRequired,
onDragEnd: PropTypes.func.isRequired,
value: PropTypes.string.isRequired
value: PropTypes.oneOfType([
PropTypes.string,
PropTypes.number])
};
MonitorComponent.defaultProps = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment