From d2879ae3082f4206191ba4037f22ca790ec85179 Mon Sep 17 00:00:00 2001 From: lubiana Date: Sat, 12 Jul 2025 19:28:15 +0200 Subject: [PATCH] smaller history --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index b48801a..8d8870d 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -133,7 +133,7 @@ function App() { if (allScratched) { setHistory(h => [ { tier: card.tier?.name ?? '', winnings: card.fields.reduce((sum, f) => sum + (f.won || 0), 0), winningNumbers: card.winningNumbers, fields: card.fields.map(f => f.value) }, - ...h.slice(0, 9) + ...h.slice(0, 4) ]); } }, [card]);