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
commit269bb773a1382ca89844def3c3fb347a2490c62c (patch)
treef0b8c95fae740830a349daaf34dc7d45f56bebdf /src
parent4f04d15acdf4162fd182a756f625974ff0be6674 (diff)
downloadcoinos-ui-269bb773a1382ca89844def3c3fb347a2490c62c.tar.gz
coinos-ui-269bb773a1382ca89844def3c3fb347a2490c62c.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")}