Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Commit

Permalink
Remove a comment and console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
xnkevinnguyen committed Feb 26, 2020
1 parent fef3c91 commit 732e544
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/view/components/toolbar/InputSlider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ class InputSlider extends React.Component<ISliderProps, any, any> {
const newValue = event.target.validity.valid
? event.target.value
: this.state.value;
// this.setState({ value: newValue });
if (this.props.onUpdateValue) {
console.log(this.props.type, newValue);
this.props.onUpdateValue(this.props.type as SENSOR_LIST, newValue);
}
return newValue;
Expand Down

0 comments on commit 732e544

Please sign in to comment.