Fix Vercel build error: Restore broken interface definition in ForecastView.tsx

This commit is contained in:
Christian Vidal Wolf
2026-01-28 11:24:02 +01:00
parent ec5b9a3733
commit c42f265132
+9 -4
View File
@@ -12,10 +12,15 @@ import {
LineChart, Line, Legend, ComposedChart, Area LineChart, Line, Legend, ComposedChart, Area
} from 'recharts'; } from 'recharts';
top50Mode: 'eu' | 'uk'; interface ForecastViewProps {
vendorStockMap ?: Map<string, { eu: number; uk: number }>; data: ProductForecastData[];
vendorStockFilter: string[]; filters: FilterState;
onVendorStockFilterChange: (newFilters: string[]) => void; onFilterChange: (newFilters: FilterState) => void;
stockMap: Map<string, number>;
top50Mode: 'eu' | 'uk';
vendorStockMap?: Map<string, { eu: number; uk: number }>;
vendorStockFilter: string[];
onVendorStockFilterChange: (newFilters: string[]) => void;
} }
const MONTH_ORDER = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; const MONTH_ORDER = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];