Tweak comment wording (#18007)
* Revert "Update ReactFiberExpirationTime.js (#17825)" This reverts commit b63cb6f6cf18bbe28eb0a443c64fd9b87d79616d. * Reword
Dan Abramov committed
Feb 10, 2020 at 16:15 UTC
517de74b0c33aa800dbf1f5ce48dc7e336c93cfb
1 file changed
+1
-1
packages/react-reconciler/src/ReactFiberExpirationTime.js
+1
-1
@@ -43,7 +43,7 @@ const MAGIC_NUMBER_OFFSET = Batched - 1;
43
44
// 1 unit of expiration time represents 10ms.
45
export function msToExpirationTime(ms: number): ExpirationTime {
46
- // Always subtract an offset so that we don't clash with the magic number for NoWork.
46
+ // Always subtract from the offset so that we don't clash with the magic number for NoWork.
47
return MAGIC_NUMBER_OFFSET - ((ms / UNIT_SIZE) | 0);
48
}
49