remove dead code

pull/21833/head
Bruno Windels 2019-08-20 17:16:12 +02:00
parent 9bc8ff7e1e
commit ca3539d53e
1 changed files with 0 additions and 5 deletions

View File

@ -220,11 +220,6 @@ export default class BasicMessageEditor extends React.Component {
}
}
_cancelEdit = () => {
dis.dispatch({action: "edit_event", event: null});
dis.dispatch({action: 'focus_composer'});
}
isModified() {
return this._modifiedFlag;
}