mirror of https://github.com/vector-im/riot-web
Get errorText from error in stageUpdated
parent
c9ef879afa
commit
ef5d2bca91
|
@ -123,6 +123,7 @@ export default React.createClass({
|
|||
this.setState({
|
||||
authStage: stageType,
|
||||
stageState: stageState,
|
||||
errorText: stageState.error,
|
||||
}, () => {
|
||||
if (oldStage != stageType) this._setFocus();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue