aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/(app)')
-rw-r--r--src/routes/(app)/fund/[id]/access/+page.svelte2
-rw-r--r--src/routes/(app)/fund/[id]/withdraw/+page.svelte2
-rw-r--r--src/routes/(app)/send/fund/[...name]/[...amount]/+page.svelte2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/routes/(app)/fund/[id]/access/+page.svelte b/src/routes/(app)/fund/[id]/access/+page.svelte
index 5c161e7c..24963593 100644
--- a/src/routes/(app)/fund/[id]/access/+page.svelte
+++ b/src/routes/(app)/fund/[id]/access/+page.svelte
@@ -47,7 +47,7 @@
<form method="post" use:enhance class="space-y-2">
<input type="hidden" name="id" value={id} />
- <input use:focus name="username" bind:value={username} placeholder={$t("funds.username")} />
+ <input use:focus name="username" bind:value={username} placeholder={$t("funds.username")} class="input" />
<button type="submit" class="btn">
<iconify-icon icon="ph:plus-bold" width="32"></iconify-icon>
{$t("funds.addManager")}
diff --git a/src/routes/(app)/fund/[id]/withdraw/+page.svelte b/src/routes/(app)/fund/[id]/withdraw/+page.svelte
index 50662317..64597d53 100644
--- a/src/routes/(app)/fund/[id]/withdraw/+page.svelte
+++ b/src/routes/(app)/fund/[id]/withdraw/+page.svelte
@@ -63,7 +63,7 @@
{/if}
</button>
- <button use:focus bind:this={submit} type="submit" class="btn btn-accent !w-auto grow">
+ <button bind:this={submit} type="submit" class="btn btn-accent !w-auto grow" disabled={submitting || !amount}>
{#if submitting}
<Spinner />
{:else}
diff --git a/src/routes/(app)/send/fund/[...name]/[...amount]/+page.svelte b/src/routes/(app)/send/fund/[...name]/[...amount]/+page.svelte
index ed541a93..5b4e64f2 100644
--- a/src/routes/(app)/send/fund/[...name]/[...amount]/+page.svelte
+++ b/src/routes/(app)/send/fund/[...name]/[...amount]/+page.svelte
@@ -74,7 +74,7 @@
{/if}
</button>
- <button use:focus bind:this={submit} type="submit" class="btn btn-accent !w-auto grow">
+ <button bind:this={submit} type="submit" class="btn btn-accent !w-auto grow" disabled={submitting || !amount}>
{#if submitting}
<Spinner />
{:else}