Skip to content

Commit

Permalink
Merge pull request #214 from DAOmasons/fixBanner
Browse files Browse the repository at this point in the history
fix banner
  • Loading branch information
jordanlesich authored Jun 12, 2024
2 parents c773b62 + 8cbd419 commit d35309c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/Banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export const Banner = () => {
const voteIsSetup =
roundOver &&
contestStatus === ContestStatus.Voting &&
votingStage === VotingStage.Initiated;
(votingStage === VotingStage.Initiated || votingStage === VotingStage.None);

const voteIsActive =
roundOver &&
Expand All @@ -177,11 +177,11 @@ export const Banner = () => {
return (
<BannerBG>
<Innards
statusText=""
statusText="Voting is almost ready! "
ctaText={
voteIsSetup && contest?.startTime
? `Vote Starts on ${secondsToLongDate(contest.startTime)}`
: 'Vote Starts Soon'
? `Starts: ${secondsToLongDate(contest.startTime)}`
: 'Stay tuned'
}
ctaButton={
<Button
Expand Down

0 comments on commit d35309c

Please sign in to comment.