1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Apply suggestions from code review

Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
Michael Telatynski
2021-01-29 13:05:09 +00:00
committed by GitHub
parent 0167c3cefb
commit 0eb0d242d5
2 changed files with 4 additions and 1 deletions

View File

@@ -179,7 +179,8 @@ export default class InteractiveAuthComponent extends React.Component {
}, () => {
if (oldStage !== stageType) {
this._setFocus();
} else if (!stageState.error && this._stageComponent.current &&
} else if (
!stageState.error && this._stageComponent.current &&
this._stageComponent.current.attemptFailed
) {
this._stageComponent.current.attemptFailed();