chore: fixes linting errors
This commit is contained in:
parent
c5e234d792
commit
4690cc0115
@ -101,7 +101,7 @@ export const DrawPDFFields = (props: Props) => {
|
|||||||
* It is re rendered and visible right away
|
* It is re rendered and visible right away
|
||||||
*
|
*
|
||||||
* @param event Mouse event
|
* @param event Mouse event
|
||||||
* @param page PdfItem where press happened
|
* @param page PdfPage where press happened
|
||||||
*/
|
*/
|
||||||
const onMouseDown = (event: any, page: PdfPage) => {
|
const onMouseDown = (event: any, page: PdfPage) => {
|
||||||
// Proceed only if left click
|
// 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
|
* 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
|
* which alters the newly created drawing element, resizing it while mouse move
|
||||||
* @param event Mouse event
|
* @param event Mouse event
|
||||||
* @param page PdfItem where moving is happening
|
* @param page PdfPage where moving is happening
|
||||||
*/
|
*/
|
||||||
const onMouseMove = (event: any, page: PdfPage) => {
|
const onMouseMove = (event: any, page: PdfPage) => {
|
||||||
if (mouseState.clicked && selectedTool) {
|
if (mouseState.clicked && selectedTool) {
|
||||||
|
@ -42,7 +42,7 @@ import {
|
|||||||
filterMarksByPubkey,
|
filterMarksByPubkey,
|
||||||
getCurrentUserMarks,
|
getCurrentUserMarks,
|
||||||
isCurrentUserMarksComplete, updateMarks
|
isCurrentUserMarksComplete, updateMarks
|
||||||
} from '../../utils/mark.ts'
|
} from '../../utils'
|
||||||
import PdfMarking from '../../components/PDFView/PdfMarking.tsx'
|
import PdfMarking from '../../components/PDFView/PdfMarking.tsx'
|
||||||
enum SignedStatus {
|
enum SignedStatus {
|
||||||
Fully_Signed,
|
Fully_Signed,
|
||||||
|
Loading…
Reference in New Issue
Block a user