Commit 374bf5f7 authored by Francesco Carrella's avatar Francesco Carrella

Workaround to fix a strange issue on component update in production builds

parent fd61e9dd
......@@ -17,11 +17,13 @@ export default class TimePicker extends React.Component {
onHourChange(value){
this.time.hours(value);
this.forceUpdate()
this.props.onTimeChange(this.time);
}
onMinutesChange(value){
this.time.minutes(value);
this.forceUpdate()
this.props.onTimeChange(this.time);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment