mirror of https://github.com/vector-im/riot-web
move unmounted init to willMount
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
8fa56f8c9a
commit
6510989ac6
|
@ -52,11 +52,10 @@ export default class Reply extends React.Component {
|
|||
};
|
||||
|
||||
this.onQuoteClick = this.onQuoteClick.bind(this);
|
||||
|
||||
this.unmounted = false;
|
||||
}
|
||||
|
||||
componentWillMount() {
|
||||
this.unmounted = false;
|
||||
this.room = this.getRoom(this.props.parentEv.getRoomId());
|
||||
this.initialize();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue