Skip to content

Commit

Permalink
Add missing word to code comment for clarity (#15443)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmac authored and trueadm committed Apr 24, 2019
1 parent fa2fa35 commit fb28e90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/scheduler/src/Scheduler.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,8 @@ function unstable_scheduleCallback(
};

// Insert the new callback into the list, ordered first by expiration, then
// by insertion. So the new callback is inserted any other callback with
// equal expiration.
// by insertion. So the new callback is inserted after any other callback
// with equal expiration.
if (firstCallbackNode === null) {
// This is the first callback in the list.
firstCallbackNode = newNode.next = newNode.previous = newNode;
Expand Down

0 comments on commit fb28e90

Please sign in to comment.