From c42f265132728ff47dca0fd072b807c661a49c19 Mon Sep 17 00:00:00 2001 From: Christian Vidal Wolf Date: Wed, 28 Jan 2026 11:24:02 +0100 Subject: [PATCH] Fix Vercel build error: Restore broken interface definition in ForecastView.tsx --- components/ForecastView.tsx | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/components/ForecastView.tsx b/components/ForecastView.tsx index f7b5bcd..d99b248 100644 --- a/components/ForecastView.tsx +++ b/components/ForecastView.tsx @@ -12,10 +12,15 @@ import { LineChart, Line, Legend, ComposedChart, Area } from 'recharts'; -top50Mode: 'eu' | 'uk'; -vendorStockMap ?: Map; -vendorStockFilter: string[]; -onVendorStockFilterChange: (newFilters: string[]) => void; +interface ForecastViewProps { + data: ProductForecastData[]; + filters: FilterState; + onFilterChange: (newFilters: FilterState) => void; + stockMap: Map; + top50Mode: 'eu' | 'uk'; + vendorStockMap?: Map; + vendorStockFilter: string[]; + onVendorStockFilterChange: (newFilters: string[]) => void; } const MONTH_ORDER = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];