Skip to content

Commit

Permalink
Add context menu handler
Browse files Browse the repository at this point in the history
  • Loading branch information
morajabi committed Mar 14, 2018
1 parent e52d4eb commit 8168b0c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions renderer/components/tray/Following/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class FollowingComp extends React.Component {
lastName,
name,
noBorder,
onContextMenu,
...props
} = this.props

Expand All @@ -69,6 +70,7 @@ class FollowingComp extends React.Component {
title={`${fullName}\n(${fullLocation})`}
onMouseEnter={this.mouseEntered}
onMouseLeave={this.mouseLeft}
onContextMenu={onContextMenu}
{...props}
>
<Photo>{photo && <PhotoImage src={photo} />}</Photo>
Expand Down

0 comments on commit 8168b0c

Please sign in to comment.