You've already forked matrix-react-sdk
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:
@@ -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);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user