fix: exhaustive zero-spread safety audit and render logging

This commit is contained in:
Christian Vidal Wolf
2026-04-16 12:18:52 +02:00
parent fbb6c75197
commit 73625526ed
4 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -506,7 +506,7 @@ const WeeklyGrid: React.FC<WeeklyGridProps & { top50Mode: 'eu' | 'uk' }> = ({
const filtered = prev.filter(f => !(f.week === week && f.metric === metric));
// Add new filter if provided
if (filter) {
return [...filtered, filter];
return filtered.concat([filter]);
}
return filtered;
});