From 19de067b3063d0021a3510acc2a699f1d4561db2 Mon Sep 17 00:00:00 2001 From: Yves Gugger Date: Wed, 10 Dec 2025 19:58:15 +0100 Subject: [PATCH] fix: Use correct getAuctionOpportunities method in market page --- 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 47f1216..7f3e194 100644 --- a/frontend/src/app/market/page.tsx +++ b/frontend/src/app/market/page.tsx @@ -60,7 +60,8 @@ export default function MarketPage() { data = await api.getHotAuctions(50) break case 'opportunities': - data = await api.getOpportunityAuctions(50) + const oppData = await api.getAuctionOpportunities() + data = oppData.opportunities || [] break default: const response = await api.getAuctions({ limit: 50, sort_by: sortBy })