From bb8d14b5ffd840eff0c2a00e1b5d318677a5ca5f Mon Sep 17 00:00:00 2001 From: TheCatLady <52870424+TheCatLady@users.noreply.github.com> Date: Sun, 16 May 2021 20:10:50 -0400 Subject: [PATCH] fix(sensitiveinput): do not capture enter key input (#1650) --- src/components/Common/SensitiveInput/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Common/SensitiveInput/index.tsx b/src/components/Common/SensitiveInput/index.tsx index 79b8b2e58..886fd7217 100644 --- a/src/components/Common/SensitiveInput/index.tsx +++ b/src/components/Common/SensitiveInput/index.tsx @@ -43,6 +43,7 @@ const SensitiveInput: React.FC = ({ e.preventDefault(); setHidden(!isHidden); }} + type="button" className="input-action" > {isHidden ? : }