feat(ui): hide spoiler banner, anonymize claims, optional guest name, list wishlists on home, drop esgotados toggle

This commit is contained in:
belisards
2026-05-03 16:53:48 -03:00
parent ce7731cebb
commit c959cc8829
6 changed files with 43 additions and 65 deletions

View File

@@ -29,7 +29,6 @@ function GuestsManager() {
const onCreate = async (e: React.FormEvent) => {
e.preventDefault();
setErr('');
if (!name.trim()) return;
setBusy(true);
try {
await guestsApi.create(name.trim());
@@ -67,7 +66,7 @@ function GuestsManager() {
<input
value={name}
onChange={(e) => setName(e.target.value)}
placeholder="Nome do convidado"
placeholder="Nome do convidado (opcional)"
className="flex-1 border rounded px-3 py-2"
/>
<button disabled={busy} className="bg-indigo-600 text-white rounded px-4 py-2 disabled:opacity-50">