Skip to content

Commit

Permalink
Fix typo: wnless -> unless (#16680)
Browse files Browse the repository at this point in the history
  • Loading branch information
NE-SmallTown authored and Brian Vaughn committed Sep 6, 2019
1 parent e11bf42 commit 61836fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-reconciler/src/ReactFiberWorkLoop.js
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ export function scheduleUpdateOnFiber(
} else {
scheduleCallbackForRoot(root, ImmediatePriority, Sync);
if (executionContext === NoContext) {
// Flush the synchronous work now, wnless we're already working or inside
// Flush the synchronous work now, unless we're already working or inside
// a batch. This is intentionally inside scheduleUpdateOnFiber instead of
// scheduleCallbackForFiber to preserve the ability to schedule a callback
// without immediately flushing it. We only do this for user-initiated
Expand Down

0 comments on commit 61836fb

Please sign in to comment.