mirror of https://github.com/vector-im/riot-web
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
parent
8ad69eee49
commit
8abd35f581
|
@ -56,7 +56,7 @@ module.exports = React.createClass({
|
|||
editing: false,
|
||||
inRoom: false,
|
||||
onSaveClick: function() {},
|
||||
onCancelClick: function() {},
|
||||
onCancelClick: null,
|
||||
};
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue