mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix typo: wnless -> unless (#16680)
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user