Add missing word to code comment for clarity (#15443)
Brendan McLoughlin committed
Apr 24, 2019 at 06:03 UTC
fb28e9048292f3c74d056370852e3da49ea5ede2
1 file changed
+2
-2
packages/scheduler/src/Scheduler.js
+2
-2
@@ -343,8 +343,8 @@ function unstable_scheduleCallback(
343
};
344
345
// Insert the new callback into the list, ordered first by expiration, then
346
- // by insertion. So the new callback is inserted any other callback with
347
- // equal expiration.
346
+ // by insertion. So the new callback is inserted after any other callback
347
+ // with equal expiration.
348
if (firstCallbackNode === null) {
349
// This is the first callback in the list.
350
firstCallbackNode = newNode.next = newNode.previous = newNode;