diff --git a/frontend/src/tabs/worlds/WorldItem.js b/frontend/src/tabs/worlds/WorldItem.js index 38e2c6b7..356e8401 100644 --- a/frontend/src/tabs/worlds/WorldItem.js +++ b/frontend/src/tabs/worlds/WorldItem.js @@ -136,7 +136,7 @@ const WorldItem = (props) => { }, [props.favorites, props.favorited]); function handleShare() { - const worldLink = `${window.location.origin}/worlds/${props.worldId}`; + const worldLink = `${window.location.origin}/worlds/${props.name}`; const twitterShareUrl = `https://x.com/intent/post?text=${encodeURIComponent('Gm. Join our forces! Draw on our art/peace World! @art_peace_sn 🗺️')}&url=${encodeURIComponent(worldLink)}`; window.open(twitterShareUrl, '_blank'); }