From 8642ee064ddf96f1db2b948b4cc8bbbd6cfee820 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Wed, 12 Nov 2025 10:42:36 +0000
Subject: (최겸) 구매 일반계약, 입찰 수정
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/bidding/list/biddings-table.tsx | 21 +--------------------
 1 file changed, 1 insertion(+), 20 deletions(-)

(limited to 'lib/bidding/list/biddings-table.tsx')

diff --git a/lib/bidding/list/biddings-table.tsx b/lib/bidding/list/biddings-table.tsx
index 39952d5a..89b6260c 100644
--- a/lib/bidding/list/biddings-table.tsx
+++ b/lib/bidding/list/biddings-table.tsx
@@ -23,8 +23,7 @@ import {
     biddingTypeLabels
 } from "@/db/schema"
 import { EditBiddingSheet } from "./edit-bidding-sheet"
-import { SpecificationMeetingDialog, PrDocumentsDialog, BidClosureDialog } from "./bidding-detail-dialogs"
-
+import { SpecificationMeetingDialog, PrDocumentsDialog } from "./bidding-detail-dialogs"
 
 interface BiddingsTableProps {
     promises: Promise<
@@ -44,7 +43,6 @@ export function BiddingsTable({ promises }: BiddingsTableProps) {
     const [isCompact, setIsCompact] = React.useState<boolean>(false)
     const [specMeetingDialogOpen, setSpecMeetingDialogOpen] = React.useState(false)
     const [prDocumentsDialogOpen, setPrDocumentsDialogOpen] = React.useState(false)
-    const [bidClosureDialogOpen, setBidClosureDialogOpen] = React.useState(false)
     const [selectedBidding, setSelectedBidding] = React.useState<BiddingListItemWithManagerCode | null>(null)
 
     console.log(data,"data")
@@ -78,10 +76,6 @@ export function BiddingsTable({ promises }: BiddingsTableProps) {
                 case "pr_documents":
                     setPrDocumentsDialogOpen(true)
                     break
-                case "bid_closure":
-                    setBidClosureDialogOpen(true)
-                    break
-                // 기존 다른 액션들은 그대로 유지
                 default:
                     break
             }
@@ -160,12 +154,6 @@ export function BiddingsTable({ promises }: BiddingsTableProps) {
         setSelectedBidding(null)
     }, [])
 
-    const handleBidClosureDialogClose = React.useCallback(() => {
-        setBidClosureDialogOpen(false)
-        setRowAction(null)
-        setSelectedBidding(null)
-    }, [])
-
 
     return (
         <>
@@ -208,13 +196,6 @@ export function BiddingsTable({ promises }: BiddingsTableProps) {
                 bidding={selectedBidding}
             />
 
-            {/* 폐찰하기 다이얼로그 */}
-            <BidClosureDialog
-                open={bidClosureDialogOpen}
-                onOpenChange={handleBidClosureDialogClose}
-                bidding={selectedBidding}
-                userId={session?.user?.id ? String(session.user.id) : ''}
-            />
         </>
 
     )
-- 
cgit v1.2.3

