Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaolin committed Feb 23, 2021
1 parent b7bad79 commit 3682ec6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ImageGallery.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
arrayOf,
bool,
func,
node,
number,
oneOf,
shape,
Expand Down Expand Up @@ -322,7 +321,7 @@ export default class ImageGallery extends React.Component {
}

componentWillUnmount() {
const { useWindowKeyDown } = this.props
const { useWindowKeyDown } = this.props;
window.removeEventListener('mousedown', this.handleMouseDown);
this.removeScreenChangeEvent();
this.removeResizeObserver();
Expand Down

0 comments on commit 3682ec6

Please sign in to comment.