aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/send
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-11-09 16:49:10 -0800
committerAdam Soltys <[email protected]>2023-11-11 00:04:22 -0800
commitefdbc67c17fab67bf3cdce448a30aa82f62c5212 (patch)
tree8af4f6245ea63e0b8a2d36f5da88439fc8d38ff7 /src/routes/(app)/send
parent9d554851a47ca9b4efd38f2682f313bd2623f8bf (diff)
downloadcoinos-ui-efdbc67c17fab67bf3cdce448a30aa82f62c5212.tar.gz
coinos-ui-efdbc67c17fab67bf3cdce448a30aa82f62c5212.zip
funds
Diffstat (limited to 'src/routes/(app)/send')
-rw-r--r--src/routes/(app)/send/[...text]/+page.svelte8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/routes/(app)/send/[...text]/+page.svelte b/src/routes/(app)/send/[...text]/+page.svelte
index c246f811..de84c287 100644
--- a/src/routes/(app)/send/[...text]/+page.svelte
+++ b/src/routes/(app)/send/[...text]/+page.svelte
@@ -35,6 +35,14 @@
</h1>
<form method="POST" use:enhance>
+ {#if form?.error}
+ <div class="mb-5">
+ <div class="text-red-600">
+ {$t('error.unrecognizedInput')}
+ </div>
+ </div>
+ {/if}
+
<div class="mb-2">
<input type="hidden" name="text" bind:value={text} />