From 7407bad3a8da0b4973361372ea1284ea2aea9805 Mon Sep 17 00:00:00 2001 From: dannybunschoten Date: Thu, 29 Aug 2024 16:51:04 +0200 Subject: [PATCH] add better styling to scoreboard --- app/components/Item.tsx | 2 +- app/components/ScoreList.tsx | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/app/components/Item.tsx b/app/components/Item.tsx index cd1e06d..65eff13 100644 --- a/app/components/Item.tsx +++ b/app/components/Item.tsx @@ -31,7 +31,7 @@ export function Item({ item, isWinning }: { item: Fruit; isWinning: boolean }) { className={`flex items-center justify-center p-2 lg:p-4 ${isWinning ? "animate-[glow_0.7s_alternate_infinite]" : ""}`} > {item} {
    {highScores.map((score, index) => (
  1. -
    - {score.name} - {score.score} -
    + {score.name || "Default User"} + {score.score}
  2. ))}