Skip to content

Commit 517de74

Browse files
authored
Tweak comment wording (facebook#18007)
* Revert "Update ReactFiberExpirationTime.js (facebook#17825)" This reverts commit b63cb6f. * Reword
1 parent b63cb6f commit 517de74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-reconciler/src/ReactFiberExpirationTime.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const MAGIC_NUMBER_OFFSET = Batched - 1;
4343

4444
// 1 unit of expiration time represents 10ms.
4545
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.
4747
return MAGIC_NUMBER_OFFSET - ((ms / UNIT_SIZE) | 0);
4848
}
4949

0 commit comments

Comments
 (0)