From ca3539d53e6b6f8e1181b71305f61b190eb5401e Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 20 Aug 2019 17:16:12 +0200 Subject: [PATCH] remove dead code --- src/components/views/rooms/BasicMessageComposer.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/components/views/rooms/BasicMessageComposer.js b/src/components/views/rooms/BasicMessageComposer.js index a488990210..ccee439237 100644 --- a/src/components/views/rooms/BasicMessageComposer.js +++ b/src/components/views/rooms/BasicMessageComposer.js @@ -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; }