aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Account.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-09-10 20:39:47 -0700
committerAdam Soltys <[email protected]>2024-09-17 09:18:36 -0700
commit1f63848ca9fb01336f04b41434de1cc06a5b3d93 (patch)
tree2affa3041863be365f33d99e1f32bda60cf93a32 /src/components/Account.svelte
parent6e48c584605bec5623c12c470d04d07303983801 (diff)
downloadcoinos-ui-1f63848ca9fb01336f04b41434de1cc06a5b3d93.tar.gz
coinos-ui-1f63848ca9fb01336f04b41434de1cc06a5b3d93.zip
move routes
Diffstat (limited to 'src/components/Account.svelte')
-rw-r--r--src/components/Account.svelte9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/components/Account.svelte b/src/components/Account.svelte
index a9b3d6ba..eb1b0bac 100644
--- a/src/components/Account.svelte
+++ b/src/components/Account.svelte
@@ -5,10 +5,10 @@
export let user, rate, account;
let { seed, balance, id } = account;
- $: type = seed ? "Savings":"Cash";
+ $: type = seed ? "Savings" : "Cash";
</script>
-<a href={`/${user.username}/${id}/payments`.replace(/undefined\//, "")}>
+<a href={`/payments`} class="block">
<div class="border rounded-xl shadow p-4 space-y-5">
<div class="flex justify-center lg:justify-start">
<Balance {balance} {user} {rate} />
@@ -30,10 +30,7 @@
</button>
</a>
- <a
- href={`/${user.username}/${id}/receive`.replace(/undefined\//, "")}
- class="contents"
- >
+ <a href={`/invoice`} class="contents">
<button
class="rounded-2xl border py-5 px-6 font-bold hover:opacity-80 flex bg-primary grow"
>