Skip to content

Commit

Permalink
Fix call to defaultHandleClick
Browse files Browse the repository at this point in the history
  • Loading branch information
derneuere authored Jun 7, 2021
1 parent d969d5c commit d05b481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default class Pig extends Component {
this.getUrl = props.getUrl || getUrl

// if handleClick has been provided as a prop, use it. otherwise use the default handleClick from /utils
this.handleClick = props.handleClick || defaultHandleClick
this.handleClick = props.handleClick || this.defaultHandleClick

this.imageData = props.imageData

Expand Down

0 comments on commit d05b481

Please sign in to comment.