ShareDialog: fix share on Twitter URL

At some point, X (Formerly known as Twitter) changed the URL to share
Tweets. This changes it to the now correct URL.

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
pull/28886/head
Ethan Carter Edwards 2025-01-06 20:20:34 -05:00
parent 7b565e7997
commit fb41c055d6
No known key found for this signature in database
GPG Key ID: D83DC5377393C7E6
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ const SOCIALS = [
{
name: "Twitter",
img: require("../../../../res/img/social/twitter-2.png"),
url: (url: string) => `https://twitter.com/home?status=${url}`,
url: (url: string) => `https://twitter.com/intent/tweet?text=${url}`,
},
{
name: "LinkedIn",