Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix x confirmation message to be shorter #293

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const FundVote = ({ name, upVotes, upVotesNeeded, addr, voted, setLoading

const [progress, setProgress] = useState(calculatePorcentage(upVotes, upVotesNeeded));
const [currentUpvotes, setCurrentUpvotes] = useState(upVotes);
const voteMessage = ` 🗳️ Just cast my vote for an amazing cause called ${name} on Go Stark Me! This fund needs more votes to start raising funds—every vote counts! Let’s support projects that make a difference at https://web3wagers.github.io/gostarkme/ @undefined_org_ 🙌💫 #GoStarkMe #Starknet #CommunityPower`;
const voteMessage = `🗳️ Voted for ${name} on Go Stark Me! Support now: https://web3wagers.github.io/gostarkme/ 🙌💫 @undefined_org_ @Starknet`;

const [isVoting, setIsVoting] = useState(false);
const [showSuccessPopup, setShowSuccessPopup] = useState(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import WithdrawConfirmation from "./WithdrawConfirmation";
const Confirmation = () => {
const tx = useAtomValue(latestTxAtom);
const actualFund = useAtomValue(clickedFundState);
const donationMessage = `🙌 Proud to support ${actualFund?.name} on Go Stark Me! Donations make a difference. 💪 Go ahead and donate at https://web3wagers.github.io/gostarkme/ @undefined_org_ #Starknet #GoStarkMe #Web3Wagers`;
const newFundMessage = `🚀 Just launched a new fund on Go Stark Me called ${actualFund?.name}! I’m raising support for an important cause, and every contribution makes a difference. Join me in making an impact at https://web3wagers.github.io/gostarkme/! 💪🌍 Check it out on @undefined_org_ #GoStarkMe #Starknet #BlockchainForGood`;
const withdrawnMessage = `🎉 We did it! The goal for ${actualFund?.name} on Go Stark Me has been reached, and funds have been successfully withdrawn! 🙌 Huge thanks to everyone who contributed and made this possible. Let’s keep making an impact! 🌍💪 Check it out at https://web3wagers.github.io/gostarkme/ #GoStarkMe #Starknet #CommunitySuccess`;
const donationMessage = `🙌 Supporting ${actualFund?.name} on Go Stark Me! Donate now: https://web3wagers.github.io/gostarkme/ 💪 @undefined_org_ @Starknet`;
const newFundMessage = `🚀 Launched a new fund on Go Stark Me: ${actualFund?.name}! Support this cause and make a difference: https://web3wagers.github.io/gostarkme/ 💪🌍 @undefined_org_ @Starknet`;
const withdrawnMessage = `🎉 Goal reached for ${actualFund?.name} on Go Stark Me! Funds successfully withdrawn—thank you to all who contributed! 🌍💪 https://web3wagers.github.io/gostarkme/ @undefined_org_ @Starknet`;

return (
<>
Expand Down
Loading