diff --git a/src/components/SharePopover/SharePopover.tsx b/src/components/SharePopover/SharePopover.tsx index b1601852c..cdc79caa4 100644 --- a/src/components/SharePopover/SharePopover.tsx +++ b/src/components/SharePopover/SharePopover.tsx @@ -43,11 +43,6 @@ export interface SharePopoverProps extends ShareListProps, Partial void; /** custom onClick handler */ onClick?: (event?: React.MouseEvent) => void; /** custom copy link button title */ @@ -154,11 +149,7 @@ export class SharePopover extends React.PureComponent { } private handleClick = async (event: React.MouseEvent) => { - const {url, title, text, useWebShareApi, handleMetrika, onClick} = this.props; - - if (handleMetrika) { - handleMetrika(); - } + const {url, title, text, useWebShareApi, onClick} = this.props; if (onClick) { onClick(event);