aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/fund
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
commit43746ec449900915ef098887334241cf59d8081f (patch)
tree2affa3041863be365f33d99e1f32bda60cf93a32 /src/routes/(app)/fund
parent9c4816e3a9acb8e917cf3a034a8622d9026632a6 (diff)
downloadcoinos-ui-43746ec449900915ef098887334241cf59d8081f.tar.gz
coinos-ui-43746ec449900915ef098887334241cf59d8081f.zip
move routes
Diffstat (limited to 'src/routes/(app)/fund')
-rw-r--r--src/routes/(app)/fund/[id]/+page.server.ts2
-rw-r--r--src/routes/(app)/fund/[id]/sweep/+page.svelte2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/(app)/fund/[id]/+page.server.ts b/src/routes/(app)/fund/[id]/+page.server.ts
index e553b1b4..6fd3af68 100644
--- a/src/routes/(app)/fund/[id]/+page.server.ts
+++ b/src/routes/(app)/fund/[id]/+page.server.ts
@@ -15,7 +15,7 @@ export const actions = {
if (user) {
await post("/redeem", params, auth(cookies));
- redirect(307, `/${user.username}/payments`);
+ redirect(307, `/payments`);
}
redirect(307, "/register");
diff --git a/src/routes/(app)/fund/[id]/sweep/+page.svelte b/src/routes/(app)/fund/[id]/sweep/+page.svelte
index 4a48edf8..e142f00d 100644
--- a/src/routes/(app)/fund/[id]/sweep/+page.svelte
+++ b/src/routes/(app)/fund/[id]/sweep/+page.svelte
@@ -32,7 +32,7 @@
</h3>
</div>
-<a href={`/${user.username}/payments`}>
+<a href={`/payments`}>
<div class="opacity-0 w-screen h-screen fixed top-0 left-0 z-50" />
</a>