aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/pot
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/(app)/pot')
-rw-r--r--src/routes/(app)/pot/[name]/+page.svelte3
-rw-r--r--src/routes/(app)/pot/[name]/withdraw/+page.server.js2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/routes/(app)/pot/[name]/+page.svelte b/src/routes/(app)/pot/[name]/+page.svelte
index 48dc9b31..c936cf59 100644
--- a/src/routes/(app)/pot/[name]/+page.svelte
+++ b/src/routes/(app)/pot/[name]/+page.svelte
@@ -35,7 +35,8 @@
<!-- <p class="absolute right-0 top-1 underline"><Icon icon="settings" /></p> -->
<h1 class="text-2xl md:text-3xl font-semibold">Public Pot</h1>
</div>
- <p class="text-secondary">Anyone who knows the URL for this pot can add or take out funds</p>
+ <p class="text-secondary">Anyone who knows the URL to this pot can add or take out funds</p>
+ <img src={src} class="mx-auto" />
<div class="flex justify-center gap-4">
<div class="my-auto">
<h2 class="text-2xl md:text-3xl font-semibold">
diff --git a/src/routes/(app)/pot/[name]/withdraw/+page.server.js b/src/routes/(app)/pot/[name]/withdraw/+page.server.js
index 6534e07b..7a486d58 100644
--- a/src/routes/(app)/pot/[name]/withdraw/+page.server.js
+++ b/src/routes/(app)/pot/[name]/withdraw/+page.server.js
@@ -11,7 +11,7 @@ export const actions = {
let body = Object.fromEntries(await request.formData());
try {
- await post('/withdraw', body, auth(cookies));
+ await post('/take', body, auth(cookies));
} catch (e) {
return invalid(400, { message: e.message });
}