summaryrefslogtreecommitdiff
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
parentf2c29e0023200b58d5e5c7a4c677a3c473c9bb8e (diff)
기만프로 포매팅 revert
-rw-r--r--components/documents/StageList.tsx2
-rw-r--r--components/documents/view-document-dialog.tsx34
2 files changed, 18 insertions, 18 deletions
diff --git a/components/documents/StageList.tsx b/components/documents/StageList.tsx
index 6df448df..81f8a5ca 100644
--- a/components/documents/StageList.tsx
+++ b/components/documents/StageList.tsx
@@ -55,7 +55,7 @@ interface Version {
approvedDate: string | null
DocumentSubmitDate: Date
attachments: Attachment[]
- selected?: boolean;
+ selected?: boolean
}
export default function StageList({ document }: StageListProps) {
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 닫힘)");