From 5814549cbe80e926c9f1b9abf6ee9f3315e84154 Mon Sep 17 00:00:00 2001 From: Elias Schneider Date: Mon, 16 Jun 2025 16:06:11 +0200 Subject: [PATCH] refactor: run formatter --- backend/internal/utils/http_util.go | 3 ++- frontend/src/lib/components/ui/button/button.svelte | 2 +- frontend/src/routes/authorize/+page.svelte | 2 +- .../admin/oidc-clients/federated-identities-input.svelte | 1 - 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/internal/utils/http_util.go b/backend/internal/utils/http_util.go index 10f49e70..0ba10336 100644 --- a/backend/internal/utils/http_util.go +++ b/backend/internal/utils/http_util.go @@ -1,11 +1,12 @@ package utils import ( - "github.com/gin-gonic/gin" "net/http" "strconv" "strings" "time" + + "github.com/gin-gonic/gin" ) // BearerAuth returns the value of the bearer token in the Authorization header if present diff --git a/frontend/src/lib/components/ui/button/button.svelte b/frontend/src/lib/components/ui/button/button.svelte index f4621b4c..221c197f 100644 --- a/frontend/src/lib/components/ui/button/button.svelte +++ b/frontend/src/lib/components/ui/button/button.svelte @@ -63,7 +63,7 @@ // Using autofocus can be bad for a11y, but in the case of Pocket ID is only used responsibly in places where there are not many choices, and on buttons only where there's descriptive text if (autofocus) { // Use setTimeout to make sure the element is showing - setTimeout(() => ref?.focus(), 100) + setTimeout(() => ref?.focus(), 100); } }); diff --git a/frontend/src/routes/authorize/+page.svelte b/frontend/src/routes/authorize/+page.svelte index 11912df8..66ae7ee0 100644 --- a/frontend/src/routes/authorize/+page.svelte +++ b/frontend/src/routes/authorize/+page.svelte @@ -139,7 +139,7 @@ {/if} -
+
{#if !errorMessage}