From ca5f2739dbebc84b59daa46cb5c834be15f433c1 Mon Sep 17 00:00:00 2001 From: Yves Gugger Date: Tue, 9 Dec 2025 07:44:36 +0100 Subject: [PATCH] Fix TypeScript errors in auctions, dashboard, and api - Made Auction.valuation optional (API doesn't always return it) - Fixed domain.notify to domain.notify_on_available in dashboard - Changed api.request from private to protected for inheritance --- frontend/src/app/auctions/page.tsx | 2 +- frontend/src/app/dashboard/page.tsx | 8 ++++---- frontend/src/lib/api.ts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/src/app/auctions/page.tsx b/frontend/src/app/auctions/page.tsx index 58a99d3..f1ec485 100644 --- a/frontend/src/app/auctions/page.tsx +++ b/frontend/src/app/auctions/page.tsx @@ -49,7 +49,7 @@ interface Auction { age_years: number | null tld: string affiliate_url: string - valuation: AuctionValuation | null + valuation?: AuctionValuation | null } interface Opportunity { diff --git a/frontend/src/app/dashboard/page.tsx b/frontend/src/app/dashboard/page.tsx index 7449bc3..c307944 100644 --- a/frontend/src/app/dashboard/page.tsx +++ b/frontend/src/app/dashboard/page.tsx @@ -682,17 +682,17 @@ export default function DashboardPage() {