Skip to content

Commit d8b0ca4

Browse files
fix ci
1 parent 29efc2e commit d8b0ca4

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

examples/browserify-gulp-example

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/webpack-example

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/material-ui-utils/src/getDisplayName.test.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,13 @@ describe('utils/getDisplayName.js', () => {
3939
));
4040
NamedForwardRefComponent.displayName = 'Div';
4141

42-
const AnonymousMemoComponent = React.memo((props, ref) => (
43-
<div {...props} ref={ref} />
44-
));
42+
const AnonymousMemoComponent = React.memo((props, ref) => <div {...props} ref={ref} />);
4543

4644
const MemoComponent = React.memo(function Div(props, ref) {
4745
return <div {...props} ref={ref} />;
4846
});
4947

50-
const NamedMemoComponent = React.memo((props, ref) => (
51-
<div {...props} ref={ref} />
52-
));
48+
const NamedMemoComponent = React.memo((props, ref) => <div {...props} ref={ref} />);
5349
NamedMemoComponent.displayName = 'Div';
5450

5551
assert.strictEqual(getDisplayName(SomeComponent), 'SomeComponent');

0 commit comments

Comments
 (0)