From 988873a523eea6fa5392dbc6d2ff315ae84bcb97 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 3 Dec 2024 12:20:37 -0800 Subject: move nostr settings --- src/components/PasswordInput.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/PasswordInput.svelte') 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; }; -- cgit v1.2.3