瀏覽代碼

ref(chat): removed unused getChatInputRef callback for input

master
Leonard Kim 6 年之前
父節點
當前提交
f1546008f9
共有 1 個檔案被更改,包括 0 行新增9 行删除
  1. 0
    9
      react/features/chat/components/web/ChatInput.js

+ 0
- 9
react/features/chat/components/web/ChatInput.js 查看文件

21
      */
21
      */
22
     dispatch: Dispatch<any>,
22
     dispatch: Dispatch<any>,
23
 
23
 
24
-    /**
25
-     * Optional callback to get a reference to the chat input element.
26
-     */
27
-    getChatInputRef?: Function,
28
-
29
     /**
24
     /**
30
      * Invoked to obtain translated strings.
25
      * Invoked to obtain translated strings.
31
      */
26
      */
223
      */
218
      */
224
     _setTextAreaRef(textAreaElement: ?HTMLTextAreaElement) {
219
     _setTextAreaRef(textAreaElement: ?HTMLTextAreaElement) {
225
         this._textArea = textAreaElement;
220
         this._textArea = textAreaElement;
226
-
227
-        if (this.props.getChatInputRef) {
228
-            this.props.getChatInputRef(textAreaElement);
229
-        }
230
     }
221
     }
231
 }
222
 }
232
 
223
 

Loading…
取消
儲存