From 517de74b0c33aa800dbf1f5ce48dc7e336c93cfb Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Mon, 10 Feb 2020 16:15:10 +0000 Subject: [PATCH] Tweak comment wording (#18007) * Revert "Update ReactFiberExpirationTime.js (#17825)" This reverts commit b63cb6f6cf18bbe28eb0a443c64fd9b87d79616d. * Reword --- packages/react-reconciler/src/ReactFiberExpirationTime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-reconciler/src/ReactFiberExpirationTime.js b/packages/react-reconciler/src/ReactFiberExpirationTime.js index f79f4cdaaac97..b27a75aeba6d9 100644 --- a/packages/react-reconciler/src/ReactFiberExpirationTime.js +++ b/packages/react-reconciler/src/ReactFiberExpirationTime.js @@ -43,7 +43,7 @@ const MAGIC_NUMBER_OFFSET = Batched - 1; // 1 unit of expiration time represents 10ms. export function msToExpirationTime(ms: number): ExpirationTime { - // Always subtract an offset so that we don't clash with the magic number for NoWork. + // Always subtract from the offset so that we don't clash with the magic number for NoWork. return MAGIC_NUMBER_OFFSET - ((ms / UNIT_SIZE) | 0); }