Replace demo stats with real data

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ivan Cacciari
2026-09-01 22:34:07 +02:00
co-authored by Cursor
parent c314a08f6d
commit d63beae04c
6 changed files with 70 additions and 47 deletions
+3 -1
View File
@@ -97,7 +97,9 @@ function Profilo() {
}
}
const percPresenze = Math.round((g.presenze / g.totaliEventi) * 100);
const percPresenze = g.totaliEventi
? Math.round((g.presenze / g.totaliEventi) * 100)
: 0;
async function onFile(e: React.ChangeEvent<HTMLInputElement>) {
const file = e.target.files?.[0];