Skip to content

Commit ecf8d31

Browse files
committed
lint fix
1 parent 0ba4287 commit ecf8d31

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

‎packages/react/src/__tests__/ReactElementClone-test.js‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -275,12 +275,7 @@ describe('ReactElementClone', () => {
275275
});
276276

277277
it('should overwrite props', async () => {
278-
let component;
279278
class Component extends React.Component {
280-
componentDidMount() {
281-
component = this;
282-
}
283-
284279
render() {
285280
expect(this.props.myprop).toBe('xyz');
286281
return <div />;

0 commit comments

Comments
 (0)