summaryrefslogtreecommitdiff
path: root/components/documents/view-document-dialog.tsx
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-03-28 06:12:57 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-03-28 06:12:57 +0000
commit21a72eeddc74cf775e2a76e2c569de970bd62a7f (patch)
tree1cbfa73f1a663e055eef8bcfea5a3678f5c2d865 /components/documents/view-document-dialog.tsx
parentf2c29e0023200b58d5e5c7a4c677a3c473c9bb8e (diff)
기만프로 포매팅 revert
Diffstat (limited to 'components/documents/view-document-dialog.tsx')
-rw-r--r--components/documents/view-document-dialog.tsx34
1 files changed, 17 insertions, 17 deletions
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 닫힘)");