remove element refs not being used

This commit is contained in:
KDSBrowne 2017-05-15 09:01:46 -07:00
parent 9e672c2c88
commit fc2a36f14b
3 changed files with 3 additions and 4 deletions

View File

@ -29,7 +29,7 @@ class EmojiMenu extends Component {
} = this.props;
return (
<Dropdown ref="dropdown" autoFocus={true}>
<Dropdown autoFocus={true}>
<DropdownTrigger placeInTabOrder={true}>
<Button
role="button"
@ -52,7 +52,7 @@ class EmojiMenu extends Component {
</Button>
</DropdownTrigger>
<DropdownContent placement="top left">
<DropdownList ref={'dropdown'}>
<DropdownList>
<DropdownListItem
icon="hand"
label={intl.formatMessage(intlMessages.raiseLabel)}

View File

@ -83,7 +83,7 @@ class SettingsDropdown extends Component {
}
return (
<Dropdown ref="dropdown" autoFocus={true}>
<Dropdown autoFocus={true}>
<DropdownTrigger placeInTabOrder={true}>
<Button
label={intl.formatMessage(intlMessages.optionsLabel)}

View File

@ -6,7 +6,6 @@ import cx from 'classnames';
import { defineMessages, injectIntl } from 'react-intl';
import UserListItem from './user-list-item/component.jsx';
import ChatListItem from './chat-list-item/component.jsx';
import { findDOMNode } from 'react-dom';
import KEY_CODES from '/imports/utils/keyCodes';
const propTypes = {