Skip to content
This repository was archived by the owner on Jun 21, 2020. It is now read-only.

Commit 59e540c

Browse files
Update AnimationFrameComponent.jsx
1 parent 54dd8da commit 59e540c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AnimationFrameComponent.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = function AnimationFrameComponent(InnerComponent, throttleMs) {
2222
const { lastInvocationMs, isActive } = this.state;
2323
const isAnimatable = !!(this.innerComponent && this.innerComponent.onAnimationFrame);
2424

25-
// Latter const is defensive check for React Native unmount (issues/#2)
25+
// Latter const is defensive check for React Native unmount (issues/#3)
2626
if (!isActive || !isAnimatable) return;
2727

2828
const hasTimeElapsed = !throttleMs || time - lastInvocationMs >= throttleMs;

0 commit comments

Comments
 (0)