Skip to content

Commit

Permalink
fix: wrong url in share x
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Feb 5, 2024
1 parent e8dea33 commit 63e8e14
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/leaderboard/ProgressModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,7 @@ function ProgressPanel({
generateImage(image => {
openNewWindow(
twitterShareUrl(
fullUrl(
`${defaultSpaceIdToPost}/leaderboard/${myAddress}?image=${encodeURIComponent(image)}`,
),
fullUrl(`/leaderboard/${myAddress}?image=${encodeURIComponent(image)}`),
`I earned ${isZero ? '' : `${value} `}#SUB ${
isUsingLastWeekData ? 'last week for my activity' : 'yesterday'
} on @SubsocialChain! 🥳\n\nFollow me here and join The Creator Economy!`,
Expand Down

0 comments on commit 63e8e14

Please sign in to comment.