diff options
| author | Adam Soltys <[email protected]> | 2023-01-31 19:56:31 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-01-31 19:56:31 -0800 |
| commit | cf29dcc02e2c9ac593d6e8f0aff2589b80ffa994 (patch) | |
| tree | 447e4a87e739ba4e53e8f31f6e1883cd54896dde /src/components | |
| parent | eff1fd2b4747d07a6b342d2561785c18ea500bcb (diff) | |
| download | coinos-ui-cf29dcc02e2c9ac593d6e8f0aff2589b80ffa994.tar.gz coinos-ui-cf29dcc02e2c9ac593d6e8f0aff2589b80ffa994.zip | |
prettier
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/Numpad.svelte | 3 | ||||
| -rw-r--r-- | src/components/Password.svelte | 4 | ||||
| -rw-r--r-- | src/components/Pin.svelte | 2 | ||||
| -rw-r--r-- | src/components/Qr.svelte | 2 |
4 files changed, 6 insertions, 5 deletions
diff --git a/src/components/Numpad.svelte b/src/components/Numpad.svelte index d74255e0..4d869fa3 100644 --- a/src/components/Numpad.svelte +++ b/src/components/Numpad.svelte @@ -102,7 +102,8 @@ let sel = getSelection(); let i = sel.focusOffset; - let clean = html.substr(0,15) + let clean = html + .substr(0, 15) .replace(/[^0-9.,]+/g, '') .replace('.', 'F') .replace(/\./g, '') diff --git a/src/components/Password.svelte b/src/components/Password.svelte index 95a52cac..fd39441c 100644 --- a/src/components/Password.svelte +++ b/src/components/Password.svelte @@ -35,7 +35,7 @@ class="bg-primary" bind:value={password} autocapitalize="none" - use:focus + use:focus /> {:else} <input @@ -45,7 +45,7 @@ class="bg-primary" bind:value={password} autocapitalize="none" - use:focus + use:focus /> {/if} <button diff --git a/src/components/Pin.svelte b/src/components/Pin.svelte index c7889aa9..7225ac37 100644 --- a/src/components/Pin.svelte +++ b/src/components/Pin.svelte @@ -1,5 +1,5 @@ <script> - import { focus } from "$lib/utils"; + import { focus } from '$lib/utils'; import { pin } from '$lib/store'; let pinCode = ''; diff --git a/src/components/Qr.svelte b/src/components/Qr.svelte index 5fea7cbd..c67d134e 100644 --- a/src/components/Qr.svelte +++ b/src/components/Qr.svelte @@ -10,5 +10,5 @@ on:click={() => screenfull.toggle(qr)} on:keydown={() => screenfull.toggle(qr)} > -<img {src} class="mx-auto" alt="QR Code" /> + <img {src} class="mx-auto" alt="QR Code" /> </div> |
