aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-01-29 15:25:07 -0800
committerAdam Soltys <[email protected]>2024-01-29 15:25:07 -0800
commit1e91f135e8f7164ee4eb9dffc3bfca94cc2e87ec (patch)
treef0b8c95fae740830a349daaf34dc7d45f56bebdf /src
parentd4e7519e4f485e32c1648c637607b6758aa124b6 (diff)
downloadcoinos-ui-1e91f135e8f7164ee4eb9dffc3bfca94cc2e87ec.tar.gz
coinos-ui-1e91f135e8f7164ee4eb9dffc3bfca94cc2e87ec.zip
fix threshold input
Diffstat (limited to 'src')
-rw-r--r--src/routes/(app)/[username]/settings/[...tab]/_pos.svelte10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/routes/(app)/[username]/settings/[...tab]/_pos.svelte b/src/routes/(app)/[username]/settings/[...tab]/_pos.svelte
index 4eca2979..d36cbd1b 100644
--- a/src/routes/(app)/[username]/settings/[...tab]/_pos.svelte
+++ b/src/routes/(app)/[username]/settings/[...tab]/_pos.svelte
@@ -126,10 +126,12 @@
<div class="p-4 border rounded-2xl rounded-r-none border-r-0 bg-primary">
⚡️
</div>
- <div
+ <div
class="border-l-0 rounded-l-none pl-2 w-full p-4 border rounded-2xl text-left"
- >{user.threshold}</div>
- <input type="hidden" name="reserve" bind:value={user.reserve} />
+ >
+ {user.threshold}
+ </div>
+ <input type="hidden" name="threshold" bind:value={user.threshold} />
</button>
<p class="text-secondary mt-1">
{$t("user.settings.thresholdDesc")}
@@ -149,7 +151,7 @@
>
{user.reserve}
</div>
- <input type="hidden" name="reserve" bind:value={user.reserve} />
+ <input type="hidden" name="reserve" bind:value={user.reserve} />
</button>
<p class="text-secondary mt-1">
{$t("user.settings.reserveDesc")}