mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 02:05:45 +03:00
Avoid controlled component error with empty strings
This commit is contained in:
parent
0e543a362e
commit
7680667334
1 changed files with 3 additions and 2 deletions
|
@ -62,8 +62,9 @@ module.exports = React.createClass({
|
|||
enteredHsUrl: this.props.customHsUrl || this.props.defaultHsUrl,
|
||||
enteredIsUrl: this.props.customIsUrl || this.props.defaultIsUrl,
|
||||
phase: PHASE_FORGOT,
|
||||
password: null,
|
||||
password2: null,
|
||||
email: "",
|
||||
password: "",
|
||||
password2: "",
|
||||
errorText: null,
|
||||
};
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue