mirror of
https://github.com/element-hq/element-web
synced 2024-11-29 04:48:50 +03:00
Fix NPE when loading the Settings page which infini-spinnered
This commit is contained in:
parent
8fb521c83c
commit
bc166f19b7
1 changed files with 6 additions and 0 deletions
|
@ -74,6 +74,12 @@ module.exports = React.createClass({
|
|||
threepids: React.PropTypes.array.isRequired,
|
||||
},
|
||||
|
||||
getDefaultProps: function() {
|
||||
return {
|
||||
threepids: []
|
||||
};
|
||||
},
|
||||
|
||||
getInitialState: function() {
|
||||
return {
|
||||
phase: this.phases.LOADING,
|
||||
|
|
Loading…
Reference in a new issue