Skip to content

Commit

Permalink
Merge pull request #779 from Financial-Times/ELES-1100-messaging-on-s…
Browse files Browse the repository at this point in the history
…hare-for-email-and-whatsapp-with-no-default-client

ELES-1100  Fix whatsapp linking
  • Loading branch information
GlynnPhillips authored Jun 3, 2024
2 parents 9aebe5e + edb76a1 commit 1285802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/x-gift-article/src/SocialShareButtons.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const SocialShareButtons = ({ actions, mailtoUrl, shareType, enterpriseEn
linkedin: `http://www.linkedin.com/shareArticle?mini=true&url=${encodeURIComponent(
url
)}&title=${encodeURIComponent(article.title)}&source=Financial+Times`,
whatsapp: `whatsapp://send?text=${encodeURIComponent(article.title)}%20-%20${encodeURIComponent(url)}`
whatsapp: `https://wa.me?text=${encodeURIComponent(article.title)}%20-%20${encodeURIComponent(url)}`
}

return (
Expand Down

0 comments on commit 1285802

Please sign in to comment.