Skip to content

Commit

Permalink
fix: small cleanup and copy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlc03 committed Aug 30, 2024
1 parent d6ce3ad commit 052b6c0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion packages/interface/src/components/VotingInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ export const VotingInfo = (): JSX.Element => {

{isLoading && <p>Loading...</p>}

{!isLoading && (
{!isLoading && timeLeft[3] < 0 && <p>Voting has ended</p>}

{!isLoading && timeLeft[3] > 0 && (
<div className="flex gap-2">
<TimeSlot num={timeLeft[0]} unit="Days" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const BallotConfirmation = (): JSX.Element => {
{appState === EAppState.VOTING && (
<Card>
<div className="flex-3 flex flex-col gap-4">
<b className="font-mono text-2xl uppercase">Wanna change your mind?</b>
<b className="font-mono text-2xl uppercase">Changed your mind?</b>

<p className="text-gray-400">Your can edit your ballot and resubmit it anytime during the voting period.</p>
</div>
Expand All @@ -96,7 +96,7 @@ export const BallotConfirmation = (): JSX.Element => {
<b className="font-mono text-2xl uppercase">{`Help us improve our next round of ${config.eventName}`}</b>

<p className="text-gray-400">
{`Your anonymized feedback will be influential to help us iterate on
{`Your feedback will be influential to help us iterate on
${config.eventName} process.`}
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 052b6c0

Please sign in to comment.