mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Fix NPE when loading the Settings page which infini-spinnered
This commit is contained in:
parent
8fb521c83c
commit
bc166f19b7
@ -74,6 +74,12 @@ module.exports = React.createClass({
|
|||||||
threepids: React.PropTypes.array.isRequired,
|
threepids: React.PropTypes.array.isRequired,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
getDefaultProps: function() {
|
||||||
|
return {
|
||||||
|
threepids: []
|
||||||
|
};
|
||||||
|
},
|
||||||
|
|
||||||
getInitialState: function() {
|
getInitialState: function() {
|
||||||
return {
|
return {
|
||||||
phase: this.phases.LOADING,
|
phase: this.phases.LOADING,
|
||||||
|
Loading…
Reference in New Issue
Block a user