Skip to content

Commit

Permalink
feat(upgrade-account-modal): update tweet content
Browse files Browse the repository at this point in the history
  • Loading branch information
runjuu committed Feb 21, 2023
1 parent 7871cd6 commit 58aefc0
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { useRefCallback } from "@crossbell/util-hooks";

import { WalletClaimCSB } from "../../../../scenes";
import {
useAccountState,
useClaimCSBStatus,
useWalletAccountBalance,
useWithdrawEmailAccount,
Expand All @@ -23,6 +24,7 @@ export function ConfirmUpgrade({ scene }: ConfirmUpgradeProps) {
const { hide: hideModal } = useUpgradeAccountModal();
const { balance } = useWalletAccountBalance();
const { isEligibleToClaim } = useClaimCSBStatus();
const character = useAccountState((s) => s.email?.character);

const {
account,
Expand Down Expand Up @@ -75,7 +77,13 @@ export function ConfirmUpgrade({ scene }: ConfirmUpgradeProps) {
title="Tweet to upgrade"
titleDesc="share this exciting activity with your friends on Twitter, $0.02 would be rewarded to help you explore the wallet account world."
getTweetContent={(account) =>
`Upgraded my email account to wallet ${account.address} on Crossbell! Excited to see what perks and benefits come with my new status. https://crossbell.io/`
`Upgraded my email account to wallet ${
account.address
} on #Crossbell! Excited to see what perks and benefits come with my new status. ${
character
? `https://xchar.app/${character.handle}`
: "https://crossbell.io/"
}`
}
/>
)}
Expand Down

0 comments on commit 58aefc0

Please sign in to comment.