Skip to content

Commit

Permalink
Update RNPhotoEditor.js
Browse files Browse the repository at this point in the history
  • Loading branch information
prscms authored Sep 21, 2018
1 parent 3e9e962 commit 2ca71d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RNPhotoEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ class PhotoEditor extends PureComponent {

RNPhotoEditor.Edit(
props,
path => {
props.onDone && props.onDone(path);
() => {
props.onDone && props.onDone();
},
() => {
props.onCancel && props.onCancel();
Expand Down

0 comments on commit 2ca71d9

Please sign in to comment.