You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change line 80: WAS: pointerRotate && this.setState({ pointerRotate }); BECAME: Number.isInteger(pointerRotate) && this.setState({ pointerRotate }); Description: In some situations pointerRotate is equal to 0. If value of pointerRotate is equal to 0, it returns false. So the function, which goes after &&, will not fire. http://take.ms/zDyAE - initial state; http://take.ms/Lajkm - after click on twelve or 0 hour; As you can see: hour is changed, but the arrow position is in previous state. My commit fixes this problem.
0 commit comments