{#if !data.verified} Not authenticated. Use the link from your invite. {:else} { return async ({ result }) => { // Apply the action result (so the success/error message // shows) WITHOUT resetting the form — the default enhance // clears name/email inputs on a successful submit. if (result.type === 'success' || result.type === 'failure') { await applyAction(result); } }; }} > Display Name Color {#each colors as c} memberColor = c} > {/each} Email {#if data.session} {:else} {/if} {#if form?.error} {form.error} {/if} {#if form?.success} Saved! {/if} Update preferences To change your device or sign in on a new device, use your invite link. Contact your family admin to change your token or reset your account. {/if}
Not authenticated. Use the link from your invite.
{form.error}
Saved!
To change your device or sign in on a new device, use your invite link.
Contact your family admin to change your token or reset your account.