mirror of
https://github.com/christianvidalwolf-prog/CrazeAnalytix.git
synced 2026-08-03 12:35:24 +02:00
fix: resolve white screen by removing stack-unfriendly spread operators and adding diagnostic logs
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user