diff options
| author | Adam Soltys <[email protected]> | 2023-01-19 16:00:17 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-01-19 16:00:17 -0800 |
| commit | f7d9ec75ac19664fdfffd430ece29f288d6d4819 (patch) | |
| tree | eda0c591ef972891f1908a5b1e91e2855b7eef59 /src/routes/(app)/pot | |
| parent | 67c4af186fec0423664b18847921eb9696a1eeef (diff) | |
| download | coinos-ui-f7d9ec75ac19664fdfffd430ece29f288d6d4819.tar.gz coinos-ui-f7d9ec75ac19664fdfffd430ece29f288d6d4819.zip | |
rename network to type
Diffstat (limited to 'src/routes/(app)/pot')
| -rw-r--r-- | src/routes/(app)/pot/[name]/+page.svelte | 3 | ||||
| -rw-r--r-- | src/routes/(app)/pot/[name]/withdraw/+page.server.js | 2 |
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 }); } |
