@samitouri / QOS-React-2 / commits / 61836fba2a

Fix typo: wnless -> unless (#16680)

Heaven committed Sep 6, 2019 at 22:47 UTC 61836fba2a5446c25aa223d2a8b3939cc90c6d03
1 file changed +1 -1
packages/react-reconciler/src/ReactFiberWorkLoop.js
+1 -1
@@ -406,7 +406,7 @@ export function scheduleUpdateOnFiber(
406 } else {
407 scheduleCallbackForRoot(root, ImmediatePriority, Sync);
408 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
410 // a batch. This is intentionally inside scheduleUpdateOnFiber instead of
411 // scheduleCallbackForFiber to preserve the ability to schedule a callback
412 // without immediately flushing it. We only do this for user-initiated