From 8168b0c65543d894644a18415a2d0dd904294e7c Mon Sep 17 00:00:00 2001 From: Mohammad Rajabifard Date: Wed, 14 Mar 2018 23:23:31 +0330 Subject: [PATCH] Add context menu handler --- renderer/components/tray/Following/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/renderer/components/tray/Following/index.js b/renderer/components/tray/Following/index.js index 30a8169..32059da 100644 --- a/renderer/components/tray/Following/index.js +++ b/renderer/components/tray/Following/index.js @@ -51,6 +51,7 @@ class FollowingComp extends React.Component { lastName, name, noBorder, + onContextMenu, ...props } = this.props @@ -69,6 +70,7 @@ class FollowingComp extends React.Component { title={`${fullName}\n(${fullLocation})`} onMouseEnter={this.mouseEntered} onMouseLeave={this.mouseLeft} + onContextMenu={onContextMenu} {...props} > {photo && }