Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn committed Aug 5, 2021
1 parent 5ad8a2f commit eab1b99
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const WARNING_STRINGS = {
'An event handler scheduled a big update with React. Consider using the Transition API to defer some of this work.',
NESTED_UPDATE:
'A nested update was scheduled during layout. These updates require React to re-render synchronously before the browser can paint.',
SUSPENDD_DURING_UPATE:
SUSPEND_DURING_UPATE:
'A component suspended during an update which caused a fallback to be shown. ' +
"Consider using the Transition API to avoid hiding components after they've been mounted.",
};
Expand Down Expand Up @@ -355,7 +355,7 @@ function processTimelineEvent(
if (phase === 'update') {
// HACK This is a bit gross but the numeric lane value might change between render versions.
if (lanes.some(lane => laneToLabelMap.get(lane) === 'Transition')) {
warning = WARNING_STRINGS.SUSPENDD_DURING_UPATE;
warning = WARNING_STRINGS.SUSPEND_DURING_UPATE;
}
}

Expand Down

0 comments on commit eab1b99

Please sign in to comment.