mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-04 21:58:39 -05:00
fix(sensitiveinput): do not capture enter key input (#1650)
This commit is contained in:
@@ -43,6 +43,7 @@ const SensitiveInput: React.FC<SensitiveInputProps> = ({
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
setHidden(!isHidden);
|
setHidden(!isHidden);
|
||||||
}}
|
}}
|
||||||
|
type="button"
|
||||||
className="input-action"
|
className="input-action"
|
||||||
>
|
>
|
||||||
{isHidden ? <EyeOffIcon /> : <EyeIcon />}
|
{isHidden ? <EyeOffIcon /> : <EyeIcon />}
|
||||||
|
|||||||
Reference in New Issue
Block a user