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
commit5f6081b2ae6901416cc5c93be09c25861c9785f2 (patch)
tree8af4f6245ea63e0b8a2d36f5da88439fc8d38ff7 /src/routes/(app)/send
parentd5a44c19ceeda9927a0ad6eb02bef4ed08128f0a (diff)
downloadcoinos-ui-5f6081b2ae6901416cc5c93be09c25861c9785f2.tar.gz
coinos-ui-5f6081b2ae6901416cc5c93be09c25861c9785f2.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} />