Skip to content

Commit

Permalink
Merge pull request #2 from csingewald/main
Browse files Browse the repository at this point in the history
Calling parent event handler for CancelSelected
  • Loading branch information
rsimon authored Sep 27, 2022
2 parents ed78ec6 + a161132 commit 4aaa845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pdf/PDFViewer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const PDFViewer = props => {
}

const onCancelSelected = a => {
console.log('cancel');
props.onCancelSelected && props.onCancelSelected(a);
}

return pdf ?
Expand Down

0 comments on commit 4aaa845

Please sign in to comment.