From a1d2599c476c52f7cced9dc71f44362df034cd95 Mon Sep 17 00:00:00 2001 From: Ivan Cacciari Date: Mon, 7 Sep 2026 08:54:03 +0200 Subject: [PATCH] Rinomina il link evento in Dettagli. Co-authored-by: Cursor --- src/components/crapp/EventoCard.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/crapp/EventoCard.tsx b/src/components/crapp/EventoCard.tsx index 156bb60..c4c1813 100644 --- a/src/components/crapp/EventoCard.tsx +++ b/src/components/crapp/EventoCard.tsx @@ -21,10 +21,10 @@ const stati: Stato[] = ["presente", "forse", "ritardo", "assente", "infortunato" export function linkPerEvento(e: Evento) { if (e.tipo === "partita") { - return { to: "/partita/$id", params: { id: e.id }, label: "Apri partita" }; + return { to: "/partita/$id", params: { id: e.id }, label: "Dettagli" }; } if (e.tipo === "allenamento") { - return { to: "/allenamento/$id", params: { id: e.id }, label: "Apri allenamento" }; + return { to: "/allenamento/$id", params: { id: e.id }, label: "Dettagli" }; } return undefined; }