1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-24 06:02:08 +03:00

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,
},
componentDidMount: function() {
this.props.onPhaseChange(DEFAULT_PHASE);
},
getInitialState: function() {
return {
token: '',
@ -467,6 +463,8 @@ export const MsisdnAuthEntry = createReactClass({
},
componentDidMount: function() {
this.props.onPhaseChange(DEFAULT_PHASE);
this._submitUrl = null;
this._sid = null;
this._msisdn = null;