1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-19 05:22:13 +03:00

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