From 4690cc0115e7bdd6920220ada67be0e2841ae41e Mon Sep 17 00:00:00 2001 From: Eugene Date: Tue, 6 Aug 2024 12:35:59 +0300 Subject: [PATCH] chore: fixes linting errors --- src/components/DrawPDFFields/index.tsx | 4 ++-- src/pages/sign/index.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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,