Skip to content

Commit 4840175

Browse files
committed
fix lint
1 parent eedf121 commit 4840175

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/react-dom-bindings/src/client/ReactDOMComponent.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2211,7 +2211,7 @@ function diffHydratedCustomComponent(
22112211
continue;
22122212

22132213
// Fall through
2214-
case 'className':
2214+
case 'className': {
22152215
// className is a special cased property on the server to render as an attribute.
22162216
extraAttributes.delete('class');
22172217
const serverValue = getValueForAttributeOnCustomComponent(
@@ -2221,6 +2221,7 @@ function diffHydratedCustomComponent(
22212221
);
22222222
warnForPropDifference('className', serverValue, value);
22232223
continue;
2224+
}
22242225

22252226
// Fall through
22262227
default: {

0 commit comments

Comments
 (0)