Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
alunyov committed Oct 11, 2023
1 parent eedf121 commit 4840175
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/react-dom-bindings/src/client/ReactDOMComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -2211,7 +2211,7 @@ function diffHydratedCustomComponent(
continue;

// Fall through
case 'className':
case 'className': {
// className is a special cased property on the server to render as an attribute.
extraAttributes.delete('class');
const serverValue = getValueForAttributeOnCustomComponent(
Expand All @@ -2221,6 +2221,7 @@ function diffHydratedCustomComponent(
);
warnForPropDifference('className', serverValue, value);
continue;
}

// Fall through
default: {
Expand Down

0 comments on commit 4840175

Please sign in to comment.