Skip to content
Snippets Groups Projects
Commit ed0b3c07 authored by Karishma Chadha's avatar Karishma Chadha
Browse files

Fixing monitor prop type warning for scalar variable monitors.

parent 2186da01
Branches
Tags
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.
Please register or to comment