File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/react-devtools-scheduling-profiler/src/import-worker Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments