backport of commit 3159aa26be41f9b9a5581ed9b00bc6dd564fa8f1 (#21902)

Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
This commit is contained in:
hc-github-team-secure-vault-core 2023-07-17 20:27:58 -04:00 committed by GitHub
parent 08c0489053
commit 9ca8e82245
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ export default class NavigateInput extends Component {
later(
this,
function () {
document.getElementById(this.inputId).focus();
document.getElementById(this.inputId)?.focus();
},
400
);