From 8841583f0574edf33bbacac02ec584e1c50d9cfe Mon Sep 17 00:00:00 2001 From: adrianvrj Date: Fri, 20 Dec 2024 14:43:51 -0600 Subject: [PATCH] [fix] general updates --- .../components/modules/Fund/Fund.tsx | 20 ++++++++++--------- .../components/modules/Fund/FundDonate.tsx | 2 +- .../components/modules/Fund/FundVote.tsx | 2 +- .../confirmation/CreationConfirmation.tsx | 2 +- .../confirmation/WithdrawConfirmation.tsx | 2 +- .../modules/newfunding/DescriptionStep.tsx | 5 ----- 6 files changed, 15 insertions(+), 18 deletions(-) diff --git a/frontend/gostarkme-web/components/modules/Fund/Fund.tsx b/frontend/gostarkme-web/components/modules/Fund/Fund.tsx index be4f5e9..ba8844b 100644 --- a/frontend/gostarkme-web/components/modules/Fund/Fund.tsx +++ b/frontend/gostarkme-web/components/modules/Fund/Fund.tsx @@ -73,7 +73,7 @@ const Fund = () => { useEffect(() => { getDetails(); - }, []); + }); return ( <> @@ -112,13 +112,13 @@ const Fund = () => { )} {Number(fund.state) === 2 && ( <> - + )} {Number(fund.state) === 3 && isOwner && ( @@ -131,7 +131,9 @@ const Fund = () => { /> )} {Number(fund.state) === 3 && !isOwner && ( -

Funds are ready for withdrawal by the owner.

+

+ The goal has been reached and funds are ready to be withdrawn by the owner. +

)} {Number(fund.state) === 4 &&

Fund was already withdrawn.

} diff --git a/frontend/gostarkme-web/components/modules/Fund/FundDonate.tsx b/frontend/gostarkme-web/components/modules/Fund/FundDonate.tsx index bb940c8..c47620b 100644 --- a/frontend/gostarkme-web/components/modules/Fund/FundDonate.tsx +++ b/frontend/gostarkme-web/components/modules/Fund/FundDonate.tsx @@ -181,7 +181,7 @@ const FundDonate = ({ currentBalance, goal, addr, name, icon }: FundDonateProps)

Success

-

Your donation was received, take a look at the transaction here.

+

Your donation was received, take a look at the transaction here.

Share your contribution via X to tell everyone how cool you are

diff --git a/frontend/gostarkme-web/components/modules/Fund/FundVote.tsx b/frontend/gostarkme-web/components/modules/Fund/FundVote.tsx index d533ab2..8fd3e94 100644 --- a/frontend/gostarkme-web/components/modules/Fund/FundVote.tsx +++ b/frontend/gostarkme-web/components/modules/Fund/FundVote.tsx @@ -154,7 +154,7 @@ export const FundVote = ({ name, upVotes, upVotesNeeded, addr, voted, setLoading

Success

-

Your vote was submitted, take a look at the transaction here.

+

Your vote was submitted, take a look at the transaction here.

Share your contribution via X to tell everyone how cool you are

diff --git a/frontend/gostarkme-web/components/modules/confirmation/CreationConfirmation.tsx b/frontend/gostarkme-web/components/modules/confirmation/CreationConfirmation.tsx index fca5460..d6778e4 100644 --- a/frontend/gostarkme-web/components/modules/confirmation/CreationConfirmation.tsx +++ b/frontend/gostarkme-web/components/modules/confirmation/CreationConfirmation.tsx @@ -12,7 +12,7 @@ const CreationConfirmation: React.FC = ({ }) => ( <>
-

Your funding was created, take a look at the transaction here.

+

Your funding was created, take a look at the transaction here.

Share your contribution via X to tell everyone how cool you are

diff --git a/frontend/gostarkme-web/components/modules/confirmation/WithdrawConfirmation.tsx b/frontend/gostarkme-web/components/modules/confirmation/WithdrawConfirmation.tsx index cf1f07e..46d9cf7 100644 --- a/frontend/gostarkme-web/components/modules/confirmation/WithdrawConfirmation.tsx +++ b/frontend/gostarkme-web/components/modules/confirmation/WithdrawConfirmation.tsx @@ -12,7 +12,7 @@ const WithdrawConfirmation: React.FC = ({ }) => ( <>
-

πŸŽ‰ Success! Your funds have been withdrawn. Check out the transaction details and celebrate! πŸ’Έβœ¨ here.

+

πŸŽ‰ Success! Your funds have been withdrawn. Check out the transaction details and celebrate! πŸ’Έβœ¨ here.

Goal Achieved! Your funds have been withdrawn, and the campaign is a success! Share your contribution on X and let everyone know how awesome you are!

diff --git a/frontend/gostarkme-web/components/modules/newfunding/DescriptionStep.tsx b/frontend/gostarkme-web/components/modules/newfunding/DescriptionStep.tsx index 0cd65d8..677d681 100644 --- a/frontend/gostarkme-web/components/modules/newfunding/DescriptionStep.tsx +++ b/frontend/gostarkme-web/components/modules/newfunding/DescriptionStep.tsx @@ -25,11 +25,6 @@ const DescriptionStep: React.FC = ({ href="" className="absolute right-[-270px] top-[-205px]" > - Back Arrow );