diff --git a/src/pdf/PDFViewer.jsx b/src/pdf/PDFViewer.jsx index 9ebb0c8..5108cba 100644 --- a/src/pdf/PDFViewer.jsx +++ b/src/pdf/PDFViewer.jsx @@ -51,7 +51,7 @@ const PDFViewer = props => { } const onCancelSelected = a => { - console.log('cancel'); + props.onCancelSelected && props.onCancelSelected(a); } return pdf ?