aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Pin.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-11-09 09:53:33 -0800
committerAdam Soltys <[email protected]>2022-11-09 09:53:33 -0800
commitccc13974d22a47995b5f9f674891a39d54aa0620 (patch)
tree57ace0c3dbcdcb9e7a4472478068b102406ee99e /src/components/Pin.svelte
parent695d2d6788752cd4f0695686f3acf7ca2099e3a9 (diff)
downloadcoinos-ui-ccc13974d22a47995b5f9f674891a39d54aa0620.tar.gz
coinos-ui-ccc13974d22a47995b5f9f674891a39d54aa0620.zip
refactor settings
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"