You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-19 05:22:13 +03:00
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:
@@ -56,7 +56,7 @@ module.exports = React.createClass({
|
||||
editing: false,
|
||||
inRoom: false,
|
||||
onSaveClick: function() {},
|
||||
onCancelClick: function() {},
|
||||
onCancelClick: null,
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user