Fix NPE when loading the Settings page which infini-spinnered

This commit is contained in:
Kegan Dougal 2016-05-16 16:04:06 +01:00
parent 8fb521c83c
commit bc166f19b7

View File

@ -74,6 +74,12 @@ module.exports = React.createClass({
threepids: React.PropTypes.array.isRequired,
},
getDefaultProps: function() {
return {
threepids: []
};
},
getInitialState: function() {
return {
phase: this.phases.LOADING,