fix: resolve white screen by removing stack-unfriendly spread operators and adding diagnostic logs

This commit is contained in:
Christian Vidal Wolf
2026-04-16 12:02:49 +02:00
parent 348821cd49
commit 630941c96a
5 changed files with 13 additions and 7 deletions
+1 -1
View File
@@ -253,7 +253,7 @@ const ForecastView: React.FC<ForecastViewProps> = ({
}, [baseFilteredData, activeMonths]);
const processedData = useMemo(() => {
let result = [...calculatedData];
let result = calculatedData.slice();
if (showOnlyTop50 && top50Ranking) {
const currentRankMap = top50Mode === 'eu' ? top50Ranking.eu : top50Ranking.uk;