feat(ui): hide spoiler banner, anonymize claims, optional guest name, list wishlists on home, drop esgotados toggle
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user