From 786e8b77ce8c45cb30203b750f4c4ae2440d89a2 Mon Sep 17 00:00:00 2001 From: Carl Mungazi Date: Thu, 20 Dec 2018 16:44:19 +0000 Subject: [PATCH] Update ReactFiberScheduler.js 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;