{ submitting = true; return async ({ update, result }) => { await update({ reset: false }); submitting = false; if (result.type === 'success') onSuccess?.(); }; }} class="mt-4 w-full max-w-4xl space-y-4" >
{#if formMessage}
{formMessage}
{/if}
Cancelar
{submitting ? submittingLabel : submitLabel}