remove element refs not being used
This commit is contained in:
parent
9e672c2c88
commit
fc2a36f14b
@ -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)}
|
||||
|
@ -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)}
|
||||
|
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user