From 052b6c01e452bb5664c3ebe3cfd4543166e3ac85 Mon Sep 17 00:00:00 2001 From: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Date: Fri, 30 Aug 2024 11:54:26 +0100 Subject: [PATCH] fix: small cleanup and copy fix --- packages/interface/src/components/VotingInfo.tsx | 4 +++- .../src/features/ballot/components/BallotConfirmation.tsx | 4 ++-- .../src/features/ballot/components/SubmitBallotButton.tsx | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/interface/src/components/VotingInfo.tsx b/packages/interface/src/components/VotingInfo.tsx index 3e8e205a..c13d5345 100644 --- a/packages/interface/src/components/VotingInfo.tsx +++ b/packages/interface/src/components/VotingInfo.tsx @@ -20,7 +20,9 @@ export const VotingInfo = (): JSX.Element => { {isLoading &&

Loading...

} - {!isLoading && ( + {!isLoading && timeLeft[3] < 0 &&

Voting has ended

} + + {!isLoading && timeLeft[3] > 0 && (
diff --git a/packages/interface/src/features/ballot/components/BallotConfirmation.tsx b/packages/interface/src/features/ballot/components/BallotConfirmation.tsx index a2134d86..48da5ed1 100644 --- a/packages/interface/src/features/ballot/components/BallotConfirmation.tsx +++ b/packages/interface/src/features/ballot/components/BallotConfirmation.tsx @@ -78,7 +78,7 @@ export const BallotConfirmation = (): JSX.Element => { {appState === EAppState.VOTING && (
- Wanna change your mind? + Changed your mind?

Your can edit your ballot and resubmit it anytime during the voting period.

@@ -96,7 +96,7 @@ export const BallotConfirmation = (): JSX.Element => { {`Help us improve our next round of ${config.eventName}`}

- {`Your anonymized feedback will be influential to help us iterate on + {`Your feedback will be influential to help us iterate on ${config.eventName} process.`}

diff --git a/packages/interface/src/features/ballot/components/SubmitBallotButton.tsx b/packages/interface/src/features/ballot/components/SubmitBallotButton.tsx index 49fe076a..3961bc2d 100644 --- a/packages/interface/src/features/ballot/components/SubmitBallotButton.tsx +++ b/packages/interface/src/features/ballot/components/SubmitBallotButton.tsx @@ -57,7 +57,7 @@ export const SubmitBallotButton = (): JSX.Element => { button="primary" buttonAction={handleSubmitBallot} buttonName="submit" - description="This is not a final submission. Once you submit your ballot, you can change it during the voting period." + description="This is not the final submission. Once you submit your ballot, you can change it during the voting period." isLoading={isLoading} isOpen={ableToSubmit && isOpen} size="sm"