mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-18 06:35:35 +08:00
Remove redundant state
This commit is contained in:
parent
f73cf772fb
commit
eb0041d21a
@ -138,8 +138,6 @@ module.exports = React.createClass({
|
||||
register_hs_url: null,
|
||||
register_is_url: null,
|
||||
register_id_sid: null,
|
||||
|
||||
userHasGeneratedPassword: false,
|
||||
};
|
||||
return s;
|
||||
},
|
||||
@ -1171,7 +1169,6 @@ module.exports = React.createClass({
|
||||
onUserSettingsClose={this.onUserSettingsClose}
|
||||
onRegistered={this.onRegistered}
|
||||
teamToken={this._teamToken}
|
||||
userHasGeneratedPassword={this.state.userHasGeneratedPassword}
|
||||
{...this.props}
|
||||
{...this.state}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user