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

This commit is contained in:
TheCatLady
2021-05-04 11:24:28 -04:00
committed by GitHub
parent 69ab7cc660
commit e2acf8887c

View File

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