diff --git a/src/lib/PasswordButton.svelte b/src/lib/PasswordButton.svelte index ee874d2..bcae323 100644 --- a/src/lib/PasswordButton.svelte +++ b/src/lib/PasswordButton.svelte @@ -18,7 +18,7 @@ function copyToClipboard() { ); } -function updatePassword(password) { +function updatePassword(e: Event) { globalPassword.set(password) }