aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/AppForm.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-03 11:41:09 -0800
committerAdam Soltys <[email protected]>2026-02-11 15:33:27 -0800
commit4bc319a709d27bcdb805294e019d53e25f6e00c5 (patch)
tree2ab903d969946ddd6129f2e6b796368adeef65cd /src/components/AppForm.svelte
parent8a6108a56c2e5035fd99c39ea13104cf23d98e2d (diff)
downloadcoinos-ui-4bc319a709d27bcdb805294e019d53e25f6e00c5.tar.gz
coinos-ui-4bc319a709d27bcdb805294e019d53e25f6e00c5.zip
fix warnings
Diffstat (limited to 'src/components/AppForm.svelte')
-rw-r--r--src/components/AppForm.svelte24
1 files changed, 20 insertions, 4 deletions
diff --git a/src/components/AppForm.svelte b/src/components/AppForm.svelte
index 25baad88..f5b8afaa 100644
--- a/src/components/AppForm.svelte
+++ b/src/components/AppForm.svelte
@@ -128,11 +128,12 @@
bind:value={pubkey}
class="grow"
readonly={secret}
- />
+ ></textarea>
<button
type="button"
onclick={() => copy(pubkey)}
class="btn !w-auto shrink"
+ aria-label="Copy public key"
>
<iconify-icon icon="ph:copy-bold" width="32"></iconify-icon>
</button>
@@ -145,14 +146,29 @@
>{$t("accounts.secret")}</label
>
<div class="flex gap-1 items-center">
- <textarea rows={3} name="secret" bind:value={secret} lcass="grow" />
+ <textarea
+ rows={3}
+ name="secret"
+ bind:value={secret}
+ class="grow"
+ ></textarea>
<div class="space-y-2 w-24">
- <button type="button" onclick={generate} class="btn">
+ <button
+ type="button"
+ onclick={generate}
+ class="btn"
+ aria-label="Generate secret"
+ >
<iconify-icon noobserver icon="ph:dice-three-bold" width="32"
></iconify-icon>
</button>
- <button type="button" onclick={() => copy(secret)} class="btn">
+ <button
+ type="button"
+ onclick={() => copy(secret)}
+ class="btn"
+ aria-label="Copy secret"
+ >
<iconify-icon icon="ph:copy-bold" width="32"></iconify-icon>
</button>
</div>