hide password for nsec input

This commit is contained in:
Paul Miller
2024-03-27 13:27:41 -05:00
committed by Tony Giorgio
parent 05a2022211
commit 9efe1484b6
2 changed files with 2 additions and 1 deletions

View File

@@ -32,6 +32,7 @@ export function ImportNsecForm() {
<>
<SimpleInput
value={nsec()}
type="password"
onInput={(e) => setNsec(e.currentTarget.value)}
placeholder={`Nostr private key (starts with "nsec")`}
/>