1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00

This actually shouldn't be necessary.

This commit is contained in:
David Baker
2016-05-26 16:22:40 +01:00
parent ed835752bc
commit 3a5e37aa84

View File

@@ -25,10 +25,6 @@ module.exports = React.createClass({
this._updateChildren(this.props.children); this._updateChildren(this.props.children);
}, },
componentWillUnmount: function() {
this._updateChildren([]);
},
componentWillReceiveProps: function(nextProps) { componentWillReceiveProps: function(nextProps) {
this._updateChildren(nextProps.children); this._updateChildren(nextProps.children);
}, },