diff options
| author | Adam Soltys <[email protected]> | 2024-12-03 12:20:37 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-12-03 12:20:37 -0800 |
| commit | 988873a523eea6fa5392dbc6d2ff315ae84bcb97 (patch) | |
| tree | c2bbe03b498cf4207e12aaed92742685ef9f5b39 /src/components/PasswordInput.svelte | |
| parent | d86e36b138713a70f39162fabbb319fd59d74418 (diff) | |
| download | coinos-ui-988873a523eea6fa5392dbc6d2ff315ae84bcb97.tar.gz coinos-ui-988873a523eea6fa5392dbc6d2ff315ae84bcb97.zip | |
move nostr settings
Diffstat (limited to 'src/components/PasswordInput.svelte')
| -rw-r--r-- | src/components/PasswordInput.svelte | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/PasswordInput.svelte b/src/components/PasswordInput.svelte index 860899c2..8c7d8d7c 100644 --- a/src/components/PasswordInput.svelte +++ b/src/components/PasswordInput.svelte @@ -4,11 +4,11 @@ show = $bindable(), value = $bindable(), focus = () => {}, - placeholder, + placeholder = undefined, } = $props(); let toggle = (e) => { - e.preventDefault(); + e?.preventDefault(); show = !show; }; |
