We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa2fa35 commit fb28e90Copy full SHA for fb28e90
packages/scheduler/src/Scheduler.js
@@ -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.
+ // by insertion. So the new callback is inserted after any other callback
+ // with equal expiration.
348
if (firstCallbackNode === null) {
349
// This is the first callback in the list.
350
firstCallbackNode = newNode.next = newNode.previous = newNode;
0 commit comments