Skip to content

Commit

Permalink
Update InstrumentCluster.js (#603)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dishebh authored Feb 8, 2020
1 parent cbdfbee commit d510bc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screen/PowerSource/components/InstrumentCluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const Settings = props => {
};

const inputCheck = value => {
let regex = /^(?:\-)?[0-9]*(\.[0-9]{0,2})?$/;
let regex = /^(?:)?[0-9]*(\.[0-9]{0,2})?$/;
return regex.test(value);
};

Expand Down

0 comments on commit d510bc8

Please sign in to comment.