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.
This commit is contained in:
David Baker 2017-09-12 15:48:13 +01:00
parent 8ad69eee49
commit 8abd35f581

View file

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