You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-20 16:22:28 +03:00
move unmounted init to willMount
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -52,11 +52,10 @@ export default class Reply extends React.Component {
|
|||||||
};
|
};
|
||||||
|
|
||||||
this.onQuoteClick = this.onQuoteClick.bind(this);
|
this.onQuoteClick = this.onQuoteClick.bind(this);
|
||||||
|
|
||||||
this.unmounted = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillMount() {
|
componentWillMount() {
|
||||||
|
this.unmounted = false;
|
||||||
this.room = this.getRoom(this.props.parentEv.getRoomId());
|
this.room = this.getRoom(this.props.parentEv.getRoomId());
|
||||||
this.initialize();
|
this.initialize();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user