diff --git a/app/components/ui/social-share.tsx b/app/components/ui/social-share.tsx index f59d1e2..5b7017f 100644 --- a/app/components/ui/social-share.tsx +++ b/app/components/ui/social-share.tsx @@ -4,7 +4,6 @@ import { FacebookShareButton, LinkedinShareButton, TwitterShareButton, - InstapaperShareButton, } from 'react-share' import { FacebookIcon } from '~/components/icons/facebook' @@ -28,6 +27,12 @@ export const SocialShareButtons = ({ setShowPopup(true) setTimeout(() => setShowPopup(false), 2000) } + + const handleInstagramShare = () => { + const instagramUrl = `https://www.instagram.com/direct/new/?text=${encodeURIComponent(title + ' ' + url)}` + window.open(instagramUrl, '_blank') + } + return (