aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/drop-menu-item.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/drop-menu-item.js')
-rw-r--r--ui/app/components/drop-menu-item.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/ui/app/components/drop-menu-item.js b/ui/app/components/drop-menu-item.js
index c8e61278c..d9fde72ac 100644
--- a/ui/app/components/drop-menu-item.js
+++ b/ui/app/components/drop-menu-item.js
@@ -4,16 +4,14 @@ const inherits = require('util').inherits
module.exports = DropMenuItem
-
inherits(DropMenuItem, Component)
-function DropMenuItem() {
+function DropMenuItem () {
Component.call(this)
}
-DropMenuItem.prototype.render = function() {
-
+DropMenuItem.prototype.render = function () {
return h('li.drop-menu-item', {
- onClick:() => {
+ onClick: () => {
this.props.closeMenu()
this.props.action()
},