Fix merge conflict between react warnings and SSO

This commit is contained in:
Travis Ralston 2020-04-01 11:32:13 -06:00
parent 36ccb7e752
commit c0ffa8b59a

View file

@ -455,10 +455,6 @@ export const MsisdnAuthEntry = createReactClass({
onPhaseChange: PropTypes.func.isRequired, onPhaseChange: PropTypes.func.isRequired,
}, },
componentDidMount: function() {
this.props.onPhaseChange(DEFAULT_PHASE);
},
getInitialState: function() { getInitialState: function() {
return { return {
token: '', token: '',
@ -467,6 +463,8 @@ export const MsisdnAuthEntry = createReactClass({
}, },
componentDidMount: function() { componentDidMount: function() {
this.props.onPhaseChange(DEFAULT_PHASE);
this._submitUrl = null; this._submitUrl = null;
this._sid = null; this._sid = null;
this._msisdn = null; this._msisdn = null;