From 659c13963ea2b8a20e0b19d817ca40a3ebb19024 Mon Sep 17 00:00:00 2001 From: Carl Mungazi Date: Thu, 20 Dec 2018 16:51:47 +0000 Subject: [PATCH] Update ReactFiberScheduler.js (#14477) Fixed typo --- packages/react-reconciler/src/ReactFiberScheduler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-reconciler/src/ReactFiberScheduler.js b/packages/react-reconciler/src/ReactFiberScheduler.js index a63bfd56b792c..52233b72053ab 100644 --- a/packages/react-reconciler/src/ReactFiberScheduler.js +++ b/packages/react-reconciler/src/ReactFiberScheduler.js @@ -1266,7 +1266,7 @@ function renderRoot(root: FiberRoot, isYieldy: boolean): void { subscriber.onWorkStarted(interactions, threadID); } catch (error) { // Work thrown by an interaction tracing subscriber should be rethrown, - // But only once it's safe (to avoid leaveing the scheduler in an invalid state). + // But only once it's safe (to avoid leaving the scheduler in an invalid state). // Store the error for now and we'll re-throw in finishRendering(). if (!hasUnhandledError) { hasUnhandledError = true;