Skip to content

Commit

Permalink
Merge pull request #9 from lucasbento/master
Browse files Browse the repository at this point in the history
Fix bug on undefined event
  • Loading branch information
Michaël Villeneuve authored Oct 17, 2017
2 parents 542af43 + 17c9a0f commit c6cf83e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GalleryList.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ class GalleryList extends PureComponent {
};
}

handleShowImageFullscreen = ({ index }) => () =>
this.props.onPressImage(index);
handleShowImageFullscreen = ({ index }) => (event) =>
this.props.onPressImage(index, event);

renderItem = (row) => {
const { imageSize } = this.state;
Expand Down

0 comments on commit c6cf83e

Please sign in to comment.