diff options
| author | Adam Soltys <[email protected]> | 2026-02-11 17:51:24 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-11 17:51:24 -0800 |
| commit | 13466248004327e9a026cb89f94926f9b060d1c1 (patch) | |
| tree | 47b4972c33809ccdf866b043c92cd3e0ecf5dcd0 /src/routes/(app)/sent | |
| parent | 3aa9ce1b5985397d7f568887ec6f881df13c1034 (diff) | |
| download | coinos-ui-13466248004327e9a026cb89f94926f9b060d1c1.tar.gz coinos-ui-13466248004327e9a026cb89f94926f9b060d1c1.zip | |
linting
Diffstat (limited to 'src/routes/(app)/sent')
| -rw-r--r-- | src/routes/(app)/sent/[id]/+page.server.ts | 6 | ||||
| -rw-r--r-- | src/routes/(app)/sent/[id]/+page.svelte | 9 |
2 files changed, 11 insertions, 4 deletions
diff --git a/src/routes/(app)/sent/[id]/+page.server.ts b/src/routes/(app)/sent/[id]/+page.server.ts index 31bf4dd1..b27d2ad8 100644 --- a/src/routes/(app)/sent/[id]/+page.server.ts +++ b/src/routes/(app)/sent/[id]/+page.server.ts @@ -1,7 +1,7 @@ import { auth, get } from "$lib/utils"; export const load = async ({ cookies, params }) => { - const { id } = params; - const p = await get(`/payments/${id}`, auth(cookies)); - return p; + const { id } = params; + const p = await get(`/payments/${id}`, auth(cookies)); + return p; }; diff --git a/src/routes/(app)/sent/[id]/+page.svelte b/src/routes/(app)/sent/[id]/+page.svelte index 3dde854f..ba2b7366 100644 --- a/src/routes/(app)/sent/[id]/+page.svelte +++ b/src/routes/(app)/sent/[id]/+page.svelte @@ -10,7 +10,14 @@ let locale = $derived(loc(user)); </script> -<Success {amount} {rate} {tip} {currency} {locale} title={`${$t("payments.sent")}!`} /> +<Success + {amount} + {rate} + {tip} + {currency} + {locale} + title={`${$t("payments.sent")}!`} +/> <a href={`/${username}`} use:focus aria-label="Continue"> <div class="opacity-0 w-screen h-screen fixed top-0 left-0 z-50"></div> </a> |
