From db59579a2efa8416f78c855faa7d7e62048447e5 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 24 Feb 2026 13:01:02 -0800 Subject: lint --- src/routes/(app)/ln/[lnurl]/+page.server.ts | 4 +++- src/routes/(app)/payment/[id]/+page.svelte | 17 +++++++++++++---- src/routes/(static)/login/+page.server.ts | 3 +-- 3 files changed, 17 insertions(+), 7 deletions(-) (limited to 'src/routes') diff --git a/src/routes/(app)/ln/[lnurl]/+page.server.ts b/src/routes/(app)/ln/[lnurl]/+page.server.ts index eec5ce31..39bc0e72 100644 --- a/src/routes/(app)/ln/[lnurl]/+page.server.ts +++ b/src/routes/(app)/ln/[lnurl]/+page.server.ts @@ -12,7 +12,9 @@ export async function load({ params, parent }) { let data; const { lnurl } = params; - const url = Buffer.from(fromWords(decode(lnurl as `${string}1${string}`, 20000).words)).toString(); + const url = Buffer.from( + fromWords(decode(lnurl as `${string}1${string}`, 20000).words), + ).toString(); try { data = await get(`/decode?text=${lnurl}`); diff --git a/src/routes/(app)/payment/[id]/+page.svelte b/src/routes/(app)/payment/[id]/+page.svelte index 415581b6..84a728a0 100644 --- a/src/routes/(app)/payment/[id]/+page.svelte +++ b/src/routes/(app)/payment/[id]/+page.svelte @@ -144,7 +144,7 @@
{$t("payments.date")}
- {format(new Date(created), "MMM d, yyyy", { locale })} {format(new Date(created), "h:mmaaa", { locale })} + {format(new Date(created), "MMM d, yyyy", { locale })}{format(new Date(created), "h:mmaaa", { locale })}
@@ -199,7 +199,10 @@ Txid
{hash}
-
@@ -218,7 +221,10 @@ {txid} - @@ -229,7 +235,10 @@ Path
{path}
-
diff --git a/src/routes/(static)/login/+page.server.ts b/src/routes/(static)/login/+page.server.ts index 18f9cb20..4200bc01 100644 --- a/src/routes/(static)/login/+page.server.ts +++ b/src/routes/(static)/login/+page.server.ts @@ -42,8 +42,7 @@ export const actions = { passkey: async ({ cookies, fetch, request }) => { const form = await fd(request); let { credential, challengeId, loginRedirect } = form; - if (loginRedirect === "null" || loginRedirect === "undefined") - loginRedirect = undefined; + if (loginRedirect === "null" || loginRedirect === "undefined") loginRedirect = undefined; credential = JSON.parse(credential); const maxAge = 380 * 24 * 60 * 60; -- cgit v1.2.3