Skip to content

Commit

Permalink
Update ReactFiberScheduler.js (#14477)
Browse files Browse the repository at this point in the history
Fixed typo
  • Loading branch information
CarlMungazi authored and aweary committed Dec 20, 2018
1 parent 84b8647 commit 659c139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-reconciler/src/ReactFiberScheduler.js
Expand Up @@ -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;
Expand Down

0 comments on commit 659c139

Please sign in to comment.