From 2650b7c0bb0ea12b68a58c0439f72d61df04b2f1 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Fri, 25 Jul 2025 07:51:15 +0000
Subject: (대표님) 정기평가 대상, 미들웨어 수정, nextauth 토큰 처리 개선, GTC
 등 (최겸) 기술영업
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/gtc-contract/status/gtc-contract-table.tsx | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

(limited to 'lib/gtc-contract/status/gtc-contract-table.tsx')

diff --git a/lib/gtc-contract/status/gtc-contract-table.tsx b/lib/gtc-contract/status/gtc-contract-table.tsx
index dd04fbc9..0fb637b6 100644
--- a/lib/gtc-contract/status/gtc-contract-table.tsx
+++ b/lib/gtc-contract/status/gtc-contract-table.tsx
@@ -26,6 +26,7 @@ import { GtcDocumentsTableFloatingBar } from "./gtc-documents-table-floating-bar
 import { UpdateGtcDocumentSheet } from "./update-gtc-document-sheet"
 import { CreateGtcDocumentDialog } from "./create-gtc-document-dialog"
 import { CreateNewRevisionDialog } from "./create-new-revision-dialog"
+import { useRouter } from "next/navigation"
 
 interface GtcDocumentsTableProps {
   promises: Promise<
@@ -39,13 +40,14 @@ interface GtcDocumentsTableProps {
 
 export function GtcDocumentsTable({ promises }: GtcDocumentsTableProps) {
   const [{ data, pageCount }, projects, users] = React.use(promises)
+  const router = useRouter()
 
   const [rowAction, setRowAction] =
     React.useState<DataTableRowAction<GtcDocumentWithRelations> | null>(null)
 
   const columns = React.useMemo(
-    () => getColumns({ setRowAction }),
-    [setRowAction]
+    () => getColumns({ setRowAction , router}),
+    [setRowAction, router]
   )
 
   /**
@@ -167,7 +169,7 @@ export function GtcDocumentsTable({ promises }: GtcDocumentsTableProps) {
         originalDocument={rowAction?.row.original ?? null}
       />
 
-      <CreateGtcDocumentDialog />
+      {/* <CreateGtcDocumentDialog /> */}
     </>
   )
 }
\ No newline at end of file
-- 
cgit v1.2.3

