Skip to content

Commit fb28e90

Browse files
bmactrueadm
authored andcommitted
Add missing word to code comment for clarity (#15443)
1 parent fa2fa35 commit fb28e90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/scheduler/src/Scheduler.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,8 @@ function unstable_scheduleCallback(
343343
};
344344

345345
// 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.
348348
if (firstCallbackNode === null) {
349349
// This is the first callback in the list.
350350
firstCallbackNode = newNode.next = newNode.previous = newNode;

0 commit comments

Comments
 (0)