|
@@ -21,11 +21,6 @@ type Props = {
|
21
|
21
|
*/
|
22
|
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
|
25
|
* Invoked to obtain translated strings.
|
31
|
26
|
*/
|
|
@@ -223,10 +218,6 @@ class ChatInput extends Component<Props, State> {
|
223
|
218
|
*/
|
224
|
219
|
_setTextAreaRef(textAreaElement: ?HTMLTextAreaElement) {
|
225
|
220
|
this._textArea = textAreaElement;
|
226
|
|
-
|
227
|
|
- if (this.props.getChatInputRef) {
|
228
|
|
- this.props.getChatInputRef(textAreaElement);
|
229
|
|
- }
|
230
|
221
|
}
|
231
|
222
|
}
|
232
|
223
|
|