mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
Get errorText from error in stageUpdated
This commit is contained in:
parent
c9ef879afa
commit
ef5d2bca91
@ -123,6 +123,7 @@ export default React.createClass({
|
|||||||
this.setState({
|
this.setState({
|
||||||
authStage: stageType,
|
authStage: stageType,
|
||||||
stageState: stageState,
|
stageState: stageState,
|
||||||
|
errorText: stageState.error,
|
||||||
}, () => {
|
}, () => {
|
||||||
if (oldStage != stageType) this._setFocus();
|
if (oldStage != stageType) this._setFocus();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user