diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/bid/[id]/pre-quote/page.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/[lng]/evcp/(evcp)/bid/[id]/pre-quote/page.tsx b/app/[lng]/evcp/(evcp)/bid/[id]/pre-quote/page.tsx index 64d6d740..d978974b 100644 --- a/app/[lng]/evcp/(evcp)/bid/[id]/pre-quote/page.tsx +++ b/app/[lng]/evcp/(evcp)/bid/[id]/pre-quote/page.tsx @@ -41,14 +41,13 @@ export default async function Page({ params }: PageProps) { // 사전견적용 입찰 업체들 조회 const biddingCompaniesResult = await getBiddingCompanies(parsedId) - const biddingCompanies = biddingCompaniesResult.success ? biddingCompaniesResult.data : [] + const biddingCompanies = biddingCompaniesResult?.success ? biddingCompaniesResult.data || [] : [] return ( <Suspense fallback={<div className="p-8">로딩 중...</div>}> <BiddingPreQuoteContent bidding={detailData.bidding} quotationDetails={detailData.quotationDetails} - quotationVendors={detailData.quotationVendors} biddingCompanies={biddingCompanies} prItems={detailData.prItems} /> |
