Skip to content

Commit

Permalink
fix: crash on leaving the topic
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Sep 4, 2019
1 parent 3669ed7 commit 711cf7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/info-view.jsx
Expand Up @@ -354,7 +354,7 @@ class InfoView extends React.Component {
this.setState({showMemberPanel: false});
}

handleLeave() {
handleLeave(e) {
e.preventDefault();
this.props.onLeaveTopic(this.props.topic);
}
Expand Down

0 comments on commit 711cf7c

Please sign in to comment.