diff --git a/src/components/DrawPDFFields/index.tsx b/src/components/DrawPDFFields/index.tsx index d8da516..f1a47f5 100644 --- a/src/components/DrawPDFFields/index.tsx +++ b/src/components/DrawPDFFields/index.tsx @@ -101,7 +101,7 @@ export const DrawPDFFields = (props: Props) => { * It is re rendered and visible right away * * @param event Mouse event - * @param page PdfItem where press happened + * @param page PdfPage where press happened */ const onMouseDown = (event: any, page: PdfPage) => { // Proceed only if left click @@ -154,7 +154,7 @@ export const DrawPDFFields = (props: Props) => { * After {@link onMouseDown} create an drawing element, this function gets called on every pixel moved * which alters the newly created drawing element, resizing it while mouse move * @param event Mouse event - * @param page PdfItem where moving is happening + * @param page PdfPage where moving is happening */ const onMouseMove = (event: any, page: PdfPage) => { if (mouseState.clicked && selectedTool) { diff --git a/src/pages/sign/index.tsx b/src/pages/sign/index.tsx index e0ef228..f59db3d 100644 --- a/src/pages/sign/index.tsx +++ b/src/pages/sign/index.tsx @@ -42,7 +42,7 @@ import { filterMarksByPubkey, getCurrentUserMarks, isCurrentUserMarksComplete, updateMarks -} from '../../utils/mark.ts' +} from '../../utils' import PdfMarking from '../../components/PDFView/PdfMarking.tsx' enum SignedStatus { Fully_Signed,