1
0
mirror of https://github.com/element-hq/element-web.git synced 2025-12-01 09:58:03 +03:00

Get errorText from error in stageUpdated

This commit is contained in:
David Baker
2017-03-01 16:59:25 +00:00
parent c9ef879afa
commit ef5d2bca91

View File

@@ -123,6 +123,7 @@ export default React.createClass({
this.setState({
authStage: stageType,
stageState: stageState,
errorText: stageState.error,
}, () => {
if (oldStage != stageType) this._setFocus();
});