Get errorText from error in stageUpdated

pull/21833/head
David Baker 2017-03-01 16:59:25 +00:00
parent c9ef879afa
commit ef5d2bca91
1 changed files with 1 additions and 0 deletions

View File

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