From 9fc8601e4da854c047a672397418e444e0950877 Mon Sep 17 00:00:00 2001 From: Dejan Ribarovski Date: Thu, 23 Oct 2025 12:53:39 +0200 Subject: [PATCH] Update 7project/frontend/src/pages/Dashboard.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- 7project/frontend/src/pages/Dashboard.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/7project/frontend/src/pages/Dashboard.tsx b/7project/frontend/src/pages/Dashboard.tsx index e653c4b..c4cf021 100644 --- a/7project/frontend/src/pages/Dashboard.tsx +++ b/7project/frontend/src/pages/Dashboard.tsx @@ -133,7 +133,6 @@ export default function Dashboard({ onLogout }: { onLogout: () => void }) { } } - setTransactions(prev => [...newTransactions, ...prev].sort((a, b) => new Date(b.date || 0).getTime() - new Date(a.date || 0).getTime())); setIsGenerating(false); alert(`${newTransactions.length} mock transactions were successfully generated!`);