Skip to content

Commit eab1b99

Browse files
author
Brian Vaughn
committed
Fixed typo
1 parent 5ad8a2f commit eab1b99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-devtools-scheduling-profiler/src/import-worker/preprocessData.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const WARNING_STRINGS = {
5353
'An event handler scheduled a big update with React. Consider using the Transition API to defer some of this work.',
5454
NESTED_UPDATE:
5555
'A nested update was scheduled during layout. These updates require React to re-render synchronously before the browser can paint.',
56-
SUSPENDD_DURING_UPATE:
56+
SUSPEND_DURING_UPATE:
5757
'A component suspended during an update which caused a fallback to be shown. ' +
5858
"Consider using the Transition API to avoid hiding components after they've been mounted.",
5959
};
@@ -355,7 +355,7 @@ function processTimelineEvent(
355355
if (phase === 'update') {
356356
// HACK This is a bit gross but the numeric lane value might change between render versions.
357357
if (lanes.some(lane => laneToLabelMap.get(lane) === 'Transition')) {
358-
warning = WARNING_STRINGS.SUSPENDD_DURING_UPATE;
358+
warning = WARNING_STRINGS.SUSPEND_DURING_UPATE;
359359
}
360360
}
361361

0 commit comments

Comments
 (0)