Skip to content

Commit

Permalink
style(eslint): 'React' is defined but never used no-unused-vars
Browse files Browse the repository at this point in the history
  • Loading branch information
twinh committed Jul 6, 2021
1 parent ae3b655 commit 1f03ca2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Event.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from 'react';
import { Component } from 'react';
import propTypes from 'prop-types';
import {event} from '@mxjs/app';

export default class extends React.Component {
export default class extends Component {
static propTypes = {
name: propTypes.string,
children: propTypes.node,
Expand Down
1 change: 0 additions & 1 deletion __tests__/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react';
import {render} from '@testing-library/react';
import {Event} from '..';

Expand Down

0 comments on commit 1f03ca2

Please sign in to comment.