mirror of
https://github.com/christianvidalwolf-prog/CrazeAnalytix.git
synced 2026-08-03 14:55:23 +02:00
Fix Vercel build error: Restore broken interface definition in ForecastView.tsx
This commit is contained in:
@@ -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'];
|
||||||
|
|||||||
Reference in New Issue
Block a user