From 21a72eeddc74cf775e2a76e2c569de970bd62a7f Mon Sep 17 00:00:00 2001 From: dujinkim Date: Fri, 28 Mar 2025 06:12:57 +0000 Subject: 기만프로 포매팅 revert MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/documents/view-document-dialog.tsx | 34 +++++++++++++-------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'components/documents/view-document-dialog.tsx') diff --git a/components/documents/view-document-dialog.tsx b/components/documents/view-document-dialog.tsx index bd802b77..e08bc4e2 100644 --- a/components/documents/view-document-dialog.tsx +++ b/components/documents/view-document-dialog.tsx @@ -18,27 +18,27 @@ interface Attachment { } interface Version { - id: number; - stage: string; - revision: string; - uploaderType: string; - uploaderName: string | null; - comment: string | null; - status: string | null; - planDate: string | null; - actualDate: string | null; - approvedDate: string | null; - DocumentSubmitDate: Date; - attachments: Attachment[]; - selected?: boolean; + id: number + stage: string + revision: string + uploaderType: string + uploaderName: string | null + comment: string | null + status: string | null + planDate: string | null + actualDate: string | null + approvedDate: string | null + DocumentSubmitDate: Date + attachments: Attachment[] + selected?: boolean } type ViewDocumentDialogProps = { - versions: Version[]; -}; + versions: Version[] +} export function ViewDocumentDialog({ versions }: ViewDocumentDialogProps) { - const [open, setOpen] = React.useState(false); + const [open, setOpen] = React.useState(false) return ( <> @@ -101,7 +101,7 @@ const DocumentViewer: React.FC<{ requestAnimationFrame(() => { if (viewer.current) { import("@pdftron/webviewer").then(({ default: WebViewer }) => { - console.log(isCancelled.current); + console.log(isCancelled.current) if (isCancelled.current) { console.log("📛 WebViewer 초기화 취소됨 (Dialog 닫힘)"); -- cgit v1.2.3