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}