@samitouri / QOS-React / commits / 659c13963e

Update ReactFiberScheduler.js (#14477)

Fixed typo

Carl Mungazi committed Dec 20, 2018 at 16:51 UTC 659c13963ea2b8a20e0b19d817ca40a3ebb19024
1 file changed +1 -1
packages/react-reconciler/src/ReactFiberScheduler.js
+1 -1
@@ -1266,7 +1266,7 @@ function renderRoot(root: FiberRoot, isYieldy: boolean): void {
1266 subscriber.onWorkStarted(interactions, threadID);
1267 } catch (error) {
1268 // Work thrown by an interaction tracing subscriber should be rethrown,
1269 - // But only once it's safe (to avoid leaveing the scheduler in an invalid state).
1269 + // But only once it's safe (to avoid leaving the scheduler in an invalid state).
1270 // Store the error for now and we'll re-throw in finishRendering().
1271 if (!hasUnhandledError) {
1272 hasUnhandledError = true;