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!`);