Update typescript-eslint monorepo to v6 (major) (#12096)
* Update typescript-eslint monorepo to v6 * Fix typo Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
a0c8575113
commit
11be614a2f
3 changed files with 109 additions and 48 deletions
|
@ -59,7 +59,7 @@ const enum LoginField {
|
|||
Email = "login_field_email",
|
||||
MatrixId = "login_field_mxid",
|
||||
Phone = "login_field_phone",
|
||||
Password = "login_field_phone",
|
||||
Password = "login_field_password",
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -70,6 +70,7 @@ export default class PasswordLogin extends React.PureComponent<IProps, IState> {
|
|||
private [LoginField.Email]: Field | null = null;
|
||||
private [LoginField.Phone]: Field | null = null;
|
||||
private [LoginField.MatrixId]: Field | null = null;
|
||||
private [LoginField.Password]: Field | null = null;
|
||||
|
||||
public static defaultProps = {
|
||||
onUsernameChanged: function () {},
|
||||
|
@ -149,7 +150,7 @@ export default class PasswordLogin extends React.PureComponent<IProps, IState> {
|
|||
activeElement.blur();
|
||||
}
|
||||
|
||||
const fieldIDsInDisplayOrder: LoginField[] = [this.state.loginType, LoginField.Password];
|
||||
const fieldIDsInDisplayOrder = [this.state.loginType, LoginField.Password];
|
||||
|
||||
// Run all fields with stricter validation that no longer allows empty
|
||||
// values for required fields.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue