remove dead code

This commit is contained in:
Bruno Windels 2019-08-20 17:16:12 +02:00
parent 9bc8ff7e1e
commit ca3539d53e

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;
}