1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

Avoid controlled component error with empty strings

This commit is contained in:
J. Ryan Stinnett
2019-02-06 18:26:44 +00:00
parent 0e543a362e
commit 7680667334

View File

@ -62,8 +62,9 @@ module.exports = React.createClass({
enteredHsUrl: this.props.customHsUrl || this.props.defaultHsUrl, enteredHsUrl: this.props.customHsUrl || this.props.defaultHsUrl,
enteredIsUrl: this.props.customIsUrl || this.props.defaultIsUrl, enteredIsUrl: this.props.customIsUrl || this.props.defaultIsUrl,
phase: PHASE_FORGOT, phase: PHASE_FORGOT,
password: null, email: "",
password2: null, password: "",
password2: "",
errorText: null, errorText: null,
}; };
}, },