From e2acf8887cb0456c80308bd1b7f3bbe1930e8cff Mon Sep 17 00:00:00 2001 From: TheCatLady <52870424+TheCatLady@users.noreply.github.com> Date: Tue, 4 May 2021 11:24:28 -0400 Subject: [PATCH] fix(ui): default to text input type for SensitiveInputs (#1568) --- src/components/Common/SensitiveInput/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Common/SensitiveInput/index.tsx b/src/components/Common/SensitiveInput/index.tsx index 56619c28d..79b8b2e58 100644 --- a/src/components/Common/SensitiveInput/index.tsx +++ b/src/components/Common/SensitiveInput/index.tsx @@ -34,7 +34,7 @@ const SensitiveInput: React.FC = ({ isHidden ? 'password' : props.type !== 'password' - ? props.type + ? props.type ?? 'text' : 'text' } />