Remove spurious cancel button

That appeared if you clicked on a room from the room directory
(it didn't do anything). It's only supposed to be shown when
editing room settings.
pull/21833/head
David Baker 2017-09-12 15:48:13 +01:00
parent 8ad69eee49
commit 8abd35f581
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ module.exports = React.createClass({
editing: false,
inRoom: false,
onSaveClick: function() {},
onCancelClick: function() {},
onCancelClick: null,
};
},