fix: crash on leaving the topic
This commit is contained in:
@@ -354,7 +354,7 @@ class InfoView extends React.Component {
|
|||||||
this.setState({showMemberPanel: false});
|
this.setState({showMemberPanel: false});
|
||||||
}
|
}
|
||||||
|
|
||||||
handleLeave() {
|
handleLeave(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
this.props.onLeaveTopic(this.props.topic);
|
this.props.onLeaveTopic(this.props.topic);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user