diff --git a/src/components/atoms/IconLinks/IconLinks.tsx b/src/components/atoms/IconLinks/IconLinks.tsx index 3781d60..2636a57 100644 --- a/src/components/atoms/IconLinks/IconLinks.tsx +++ b/src/components/atoms/IconLinks/IconLinks.tsx @@ -16,7 +16,12 @@ interface IconWrapperProps extends IconLinkProps { const IconWrapper = ({ index, href: to, fontSize, Icon, ...props }: IconWrapperProps) => { if (typeof index === 'undefined') { return ( - window.open(to, '_blank')} {...props}> + { + e.stopPropagation() + window.open(to, '_blank') + }} + {...props}> )