diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/bid/[id]/detail/page.tsx | 1 | ||||
| -rw-r--r-- | app/[lng]/evcp/(evcp)/rfq-last/[id]/vendor/page.tsx | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/app/[lng]/evcp/(evcp)/bid/[id]/detail/page.tsx b/app/[lng]/evcp/(evcp)/bid/[id]/detail/page.tsx index ac9b5df4..4dc36e20 100644 --- a/app/[lng]/evcp/(evcp)/bid/[id]/detail/page.tsx +++ b/app/[lng]/evcp/(evcp)/bid/[id]/detail/page.tsx @@ -44,7 +44,6 @@ export default async function Page({ params }: PageProps) { bidding={detailData.bidding} quotationDetails={detailData.quotationDetails} quotationVendors={detailData.quotationVendors} - biddingCompanies={detailData.biddingCompanies} prItems={detailData.prItems} /> </Suspense> diff --git a/app/[lng]/evcp/(evcp)/rfq-last/[id]/vendor/page.tsx b/app/[lng]/evcp/(evcp)/rfq-last/[id]/vendor/page.tsx index 30075cbe..012296ca 100644 --- a/app/[lng]/evcp/(evcp)/rfq-last/[id]/vendor/page.tsx +++ b/app/[lng]/evcp/(evcp)/rfq-last/[id]/vendor/page.tsx @@ -35,6 +35,7 @@ export default async function VendorPage(props: VendorPageProps) { const { data: rfqData, success: rfqSuccess } = await getRfqWithDetails(rfqId); const { data: vendorResponses, success: responsesSuccess } = await getRfqVendorResponses(rfqId); + if (!rfqSuccess || !rfqData) { return ( <div className="p-4"> |
