diff --git a/src/components/structures/ContextualMenu.js b/src/components/structures/ContextualMenu.js index 2dfc1eeb34..d551a6fe27 100644 --- a/src/components/structures/ContextualMenu.js +++ b/src/components/structures/ContextualMenu.js @@ -175,7 +175,9 @@ export default class ContextualMenu extends React.Component { `; } - const chevron = hasChevron ?
: undefined; + const chevron = hasChevron ? +
: + undefined; const className = 'mx_ContextualMenu_wrapper'; const menuClasses = classNames({ diff --git a/src/components/structures/RightPanel.js b/src/components/structures/RightPanel.js index ebc559b5fc..226b4a4ba4 100644 --- a/src/components/structures/RightPanel.js +++ b/src/components/structures/RightPanel.js @@ -29,8 +29,6 @@ import AccessibleButton from '../../components/views/elements/AccessibleButton'; import { showGroupInviteDialog, showGroupAddRoomDialog } from '../../GroupAddressPicker'; import GroupStore from '../../stores/GroupStore'; -import { formatCount } from '../../utils/FormattingUtils'; - class HeaderButton extends React.Component { constructor() { super(); @@ -52,11 +50,7 @@ class HeaderButton extends React.Component { const classes = classNames({ mx_RightPanel_headerButton: true, mx_RightPanel_headerButton_highlight: this.props.isHighlighted, - }) - // will probably use this later on for notifications, etc ... - /*
- { this.props.badge ? this.props.badge :   } -
*/ + }); return
{ this.getLabel() }
; + return


{ this.getLabel() }

; } }