Skip to content

Commit 61836fb

Browse files
NE-SmallTownBrian Vaughn
authored and
Brian Vaughn
committed
Fix typo: wnless -> unless (#16680)
1 parent e11bf42 commit 61836fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-reconciler/src/ReactFiberWorkLoop.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ export function scheduleUpdateOnFiber(
406406
} else {
407407
scheduleCallbackForRoot(root, ImmediatePriority, Sync);
408408
if (executionContext === NoContext) {
409-
// Flush the synchronous work now, wnless we're already working or inside
409+
// Flush the synchronous work now, unless we're already working or inside
410410
// a batch. This is intentionally inside scheduleUpdateOnFiber instead of
411411
// scheduleCallbackForFiber to preserve the ability to schedule a callback
412412
// without immediately flushing it. We only do this for user-initiated

0 commit comments

Comments
 (0)