Update ReactFiberScheduler.js (#14477)

Fixed typo
This commit is contained in:
Carl Mungazi
2018-12-20 08:51:47 -08:00
committed by Brandon Dail
parent 84b86471ea
commit 659c13963e
+1 -1
View File
@@ -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;