don't fire onFinished twice

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2019-09-15 21:30:01 +01:00 committed by Bruno Windels
parent 597433d549
commit 5d1056e1ef

View file

@ -390,7 +390,6 @@ module.exports = React.createClass({
},
onJoinClick: function(ev, room) {
this.props.onFinished();
this.showRoom(room, null, true);
ev.stopPropagation();
},