aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Pin.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-11-09 14:26:05 -0800
committerAdam Soltys <[email protected]>2022-11-09 14:26:05 -0800
commit2be0c31d324e312f7d0b59e910d864d6a1ae99ff (patch)
tree8ca8d3af860f371c256df2c1c1e087acbc1841ba /src/components/Pin.svelte
parent692ffd2b6819f6254f77f819a4072eae61a1d638 (diff)
parentc31cfed30e022acf1c58d8594a1027524f3079da (diff)
downloadcoinos-ui-2be0c31d324e312f7d0b59e910d864d6a1ae99ff.tar.gz
coinos-ui-2be0c31d324e312f7d0b59e910d864d6a1ae99ff.zip
Merge branch 'master' into maven
Diffstat (limited to 'src/components/Pin.svelte')
-rw-r--r--src/components/Pin.svelte3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/Pin.svelte b/src/components/Pin.svelte
index 2a6bf977..80e003b9 100644
--- a/src/components/Pin.svelte
+++ b/src/components/Pin.svelte
@@ -1,5 +1,6 @@
<script>
import { pin } from '$lib/store';
+
let pinCode = '';
let pinInput;
@@ -9,7 +10,7 @@
<div class="fixed inset-0 bg-gray-600 bg-opacity-50 overflow-y-auto h-full w-full z-20">
<div class="relative top-1/3 mx-auto p-5 border w-96 shadow-lg rounded-md bg-white space-y-5">
<h1 class="text-center text-2xl font-semibold">Please enter your PIN</h1>
- <input bind:value={pinCode} />
+ <input bind:value={pinCode} autofocus />
<div class="w-full flex">
<button
type="submit"