From f1546008f9abca74d2797d5c3d701294ccdbb184 Mon Sep 17 00:00:00 2001 From: Leonard Kim Date: Tue, 7 May 2019 15:35:13 -0700 Subject: [PATCH] ref(chat): removed unused getChatInputRef callback for input --- react/features/chat/components/web/ChatInput.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/react/features/chat/components/web/ChatInput.js b/react/features/chat/components/web/ChatInput.js index 51564d096..e76828e89 100644 --- a/react/features/chat/components/web/ChatInput.js +++ b/react/features/chat/components/web/ChatInput.js @@ -21,11 +21,6 @@ type Props = { */ dispatch: Dispatch, - /** - * Optional callback to get a reference to the chat input element. - */ - getChatInputRef?: Function, - /** * Invoked to obtain translated strings. */ @@ -223,10 +218,6 @@ class ChatInput extends Component { */ _setTextAreaRef(textAreaElement: ?HTMLTextAreaElement) { this._textArea = textAreaElement; - - if (this.props.getChatInputRef) { - this.props.getChatInputRef(textAreaElement); - } } }