Login: fix tKey

This commit is contained in:
Viktor Fomin 2023-08-25 12:44:34 +03:00
parent 65c14775f5
commit 24ecb849f9

View File

@ -53,9 +53,8 @@ const LoginForm: React.FC<ILoginFormProps> = ({
const [isDisabled, setIsDisabled] = useState(false); const [isDisabled, setIsDisabled] = useState(false);
const [isChecked, setIsChecked] = useState(false); const [isChecked, setIsChecked] = useState(false);
const [isDialogVisible, setIsDialogVisible] = useState(false); const [isDialogVisible, setIsDialogVisible] = useState(false);
const [isWithoutPasswordLogin, setIsWithoutPasswordLogin] = useState( const [isWithoutPasswordLogin, setIsWithoutPasswordLogin] =
IS_ROOMS_MODE useState(IS_ROOMS_MODE);
);
const inputRef = useRef<HTMLInputElement>(null); const inputRef = useRef<HTMLInputElement>(null);
@ -311,7 +310,7 @@ const LoginForm: React.FC<ILoginFormProps> = ({
className="login-checkbox" className="login-checkbox"
isChecked={isChecked} isChecked={isChecked}
onChange={onChangeCheckbox} onChange={onChangeCheckbox}
label={t("Remember")} label={t("Common:Remember")}
helpButton={ helpButton={
!checkIsSSR() && ( !checkIsSSR() && (
<HelpButton <HelpButton