From 8df5084703baf2b7ae416af8d8d5064cec13ee19 Mon Sep 17 00:00:00 2001 From: enes Date: Mon, 23 Dec 2024 16:39:24 +0100 Subject: [PATCH] fix(sign): always show PdfView --- src/components/PDFView/PdfMarking.tsx | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/src/components/PDFView/PdfMarking.tsx b/src/components/PDFView/PdfMarking.tsx index f0d4f60..6346944 100644 --- a/src/components/PDFView/PdfMarking.tsx +++ b/src/components/PDFView/PdfMarking.tsx @@ -152,17 +152,15 @@ const PdfMarking = (props: PdfMarkingProps) => { centerIcon={faPen} rightIcon={faCircleInfo} > - {currentUserMarks?.length > 0 && ( - - )} + {selectedMark !== null && (