fix: Extract auctions array from getAuctions response
Some checks failed
CI / Frontend Lint & Type Check (push) Has been cancelled
CI / Frontend Build (push) Has been cancelled
CI / Backend Lint (push) Has been cancelled
CI / Backend Tests (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
Deploy / Build & Push Images (push) Has been cancelled
Deploy / Deploy to Server (push) Has been cancelled
Deploy / Notify (push) Has been cancelled

This commit is contained in:
2025-12-10 20:06:58 +01:00
parent b4c853f5a6
commit 47bdede12c

View File

@ -64,7 +64,8 @@ export default function MarketPage() {
data = oppData.opportunities || []
break
default:
data = await api.getAuctions(undefined, undefined, undefined, undefined, undefined, false, sortBy, 50)
const auctionData = await api.getAuctions(undefined, undefined, undefined, undefined, undefined, false, sortBy, 50)
data = auctionData.auctions || []
}
setAuctions(data)
} catch (error) {