diff options
| author | Adam Soltys <[email protected]> | 2026-02-11 23:02:30 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-11 23:02:30 -0800 |
| commit | 2e61e8abbc318c36969cb5add0c63df81135b4ab (patch) | |
| tree | 706396b41da448f0172719313fb6ae30ecebb004 /src/routes/(static)/login | |
| parent | 56a04684c1fb77ea7b21afc6b0d2e1c4773906f6 (diff) | |
| download | coinos-ui-2e61e8abbc318c36969cb5add0c63df81135b4ab.tar.gz coinos-ui-2e61e8abbc318c36969cb5add0c63df81135b4ab.zip | |
formatting
Diffstat (limited to 'src/routes/(static)/login')
| -rw-r--r-- | src/routes/(static)/login/+page.svelte | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/routes/(static)/login/+page.svelte b/src/routes/(static)/login/+page.svelte index 7c9c29fc..22e49e65 100644 --- a/src/routes/(static)/login/+page.svelte +++ b/src/routes/(static)/login/+page.svelte @@ -161,9 +161,7 @@ <div class="mx-auto md:shadow-xl rounded-3xl max-w-xl w-full md:w-[480px] md:p-8 mb-20 space-y-5"> <h1 class="text-2xl font-bold text-center">{$t("login.signIn")}</h1> {#if form?.error && !form?.message.includes("2fa")} - <div class="text-red-600 text-center" in:fly> - {form.error} - </div> + <div class="text-red-600 text-center" in:fly>{form.error}</div> {/if} <form use:enhance={enhanceLogin} class="space-y-5" method="POST" action="?/login"> @@ -184,9 +182,9 @@ <PasswordInput bind:value={$password} placeholder={$t("login.password")} /> <div class="flex justify-end items-center"> - <a href="/forgot" class="underline underline-offset-4 text-secondary" - >{$t("login.forgotUserOrPassword")}</a - > + <a href="/forgot" class="underline underline-offset-4 text-secondary"> + {$t("login.forgotUserOrPassword")} + </a> </div> <button type="submit" class="btn btn-accent" bind:this={btn} data-testid="login-submit"> |
