Skip to content

Commit 659c139

Browse files
CarlMungaziaweary
authored andcommitted
Update ReactFiberScheduler.js (#14477)
Fixed typo
1 parent 84b8647 commit 659c139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-reconciler/src/ReactFiberScheduler.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1266,7 +1266,7 @@ function renderRoot(root: FiberRoot, isYieldy: boolean): void {
12661266
subscriber.onWorkStarted(interactions, threadID);
12671267
} catch (error) {
12681268
// 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).
12701270
// Store the error for now and we'll re-throw in finishRendering().
12711271
if (!hasUnhandledError) {
12721272
hasUnhandledError = true;

0 commit comments

Comments
 (0)