From 0bd51b2ed31a511ae8f1a81b0c6b4e27f3aa5b9d Mon Sep 17 00:00:00 2001 From: Yves Gugger Date: Wed, 10 Dec 2025 20:08:44 +0100 Subject: [PATCH] fix: Map opportunities to extract auction objects --- frontend/src/app/market/page.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/market/page.tsx b/frontend/src/app/market/page.tsx index 7fb8c06..88e7d5f 100644 --- a/frontend/src/app/market/page.tsx +++ b/frontend/src/app/market/page.tsx @@ -61,7 +61,8 @@ export default function MarketPage() { break case 'opportunities': const oppData = await api.getAuctionOpportunities() - data = oppData.opportunities || [] + // Extract auction objects from opportunities + data = (oppData.opportunities || []).map((o: any) => o.auction) break default: const auctionData = await api.getAuctions(undefined, undefined, undefined, undefined, undefined, false, sortBy, 50)