fix(ui): default to text input type for SensitiveInputs (#1568)

pull/1571/head
TheCatLady 3 years ago committed by GitHub
parent 69ab7cc660
commit e2acf8887c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -34,7 +34,7 @@ const SensitiveInput: React.FC<SensitiveInputProps> = ({
isHidden
? 'password'
: props.type !== 'password'
? props.type
? props.type ?? 'text'
: 'text'
}
/>

Loading…
Cancel
Save