diff --git a/src/routes/profilo.tsx b/src/routes/profilo.tsx index e4aad5c..e6833fe 100644 --- a/src/routes/profilo.tsx +++ b/src/routes/profilo.tsx @@ -105,6 +105,7 @@ function Profilo() { const file = e.target.files?.[0]; e.target.value = ""; if (!file || !g) return; + if (!confirm("Aggiornare l'immagine profilo?")) return; try { await caricaAvatar(g.id, file); setBust(Date.now()); @@ -153,6 +154,7 @@ function Profilo() {