1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-14 16:27:29 +00:00

refactor: run formatter

This commit is contained in:
Elias Schneider
2025-06-16 16:06:11 +02:00
parent 2e5d268798
commit 5814549cbe
4 changed files with 4 additions and 4 deletions

View File

@@ -139,7 +139,7 @@
</div>
{/if}
<!-- Flex flow is reversed so the sign in button, which has auto-focus, is the first one in the DOM, for a11y -->
<div class="flex w-full max-w-[450px] gap-2 flex-row-reverse">
<div class="flex w-full max-w-[450px] flex-row-reverse gap-2">
{#if !errorMessage}
<Button class="flex-1" {isLoading} onclick={authorize} autofocus={true}>
{m.sign_in()}

View File

@@ -51,7 +51,6 @@
}
function getFieldError(index: number, field: keyof OidcClientFederatedIdentity): string | null {
console.log(federatedIdentities);
if (!errors) return null;
const path = [index, field];
return errors?.filter((e) => e.path[0] == path[0] && e.path[1] == path[1])[0]?.message;