ref(chat): removed unused getChatInputRef callback for input

This commit is contained in:
Leonard Kim 2019-05-07 15:35:13 -07:00 committed by virtuacoplenny
parent d8df7fde84
commit f1546008f9
1 changed files with 0 additions and 9 deletions

View File

@ -21,11 +21,6 @@ type Props = {
*/
dispatch: Dispatch<any>,
/**
* 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<Props, State> {
*/
_setTextAreaRef(textAreaElement: ?HTMLTextAreaElement) {
this._textArea = textAreaElement;
if (this.props.getChatInputRef) {
this.props.getChatInputRef(textAreaElement);
}
}
}