From 5b1426eb7c642a7c4edc02b62a45222cb54f74e0 Mon Sep 17 00:00:00 2001 From: jos Date: Thu, 13 Jul 2017 19:49:45 +0200 Subject: [PATCH] Remove not yet used ref --- src/components/menu/Menu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/menu/Menu.js b/src/components/menu/Menu.js index 3da7a71..9feea21 100644 --- a/src/components/menu/Menu.js +++ b/src/components/menu/Menu.js @@ -32,7 +32,6 @@ export default class Menu extends Component { : 'bottom' // TODO: create a non-visible button to set the focus to the menu - // TODO: implement (customizable) quick keys const className = 'jsoneditor-actionmenu ' + ((orientation === 'top') ? 'jsoneditor-actionmenu-top' : 'jsoneditor-actionmenu-bottom') @@ -40,7 +39,6 @@ export default class Menu extends Component { return h('div', { className: className, 'data-menu': 'true', - ref: '', }, this.props.items.map(this.renderMenuItem) ) @@ -152,6 +150,8 @@ export default class Menu extends Component { componentDidMount () { this.updateRequestCloseListener() + + } componentDidUpdate () {