diff options
| author | Adam Soltys <[email protected]> | 2023-02-06 16:40:14 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-02-06 16:40:19 -0800 |
| commit | 66740dea41f2772d46e1b13b91ef0e7b1a68bfff (patch) | |
| tree | 2ff8926078222020c05252e64da6ae5e9c9cbbef /src/components/Password.svelte | |
| parent | 916f331e0e9a051830ce988639bb2149788e8228 (diff) | |
| download | coinos-ui-66740dea41f2772d46e1b13b91ef0e7b1a68bfff.tar.gz coinos-ui-66740dea41f2772d46e1b13b91ef0e7b1a68bfff.zip | |
new pinpad component
Diffstat (limited to 'src/components/Password.svelte')
| -rw-r--r-- | src/components/Password.svelte | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/Password.svelte b/src/components/Password.svelte index fd39441c..a84c0b16 100644 --- a/src/components/Password.svelte +++ b/src/components/Password.svelte @@ -1,6 +1,6 @@ <script> import { Icon } from '$comp'; - import { focus, failure, post } from '$lib/utils'; + import { focus, fail, post } from '$lib/utils'; import { password as pw, passwordPrompt } from '$lib/store'; export let user; @@ -17,7 +17,7 @@ $passwordPrompt = false; $pw = password; } catch (e) { - failure('Invalid password, try again'); + fail('Invalid password, try again'); } }; </script> @@ -51,7 +51,7 @@ <button type="button" on:click={() => (revealPassword = !revealPassword)} - class="absolute right-5 top-5" + class="absolute right-5 top-6" > <Icon icon={revealPassword ? 'eye' : 'eye-off'} /> </button> |
