Skip to content

Commit

Permalink
Merge pull request #113 from edenia/perf/update-text
Browse files Browse the repository at this point in the history
perf(webapp): update home texts for not logged users
  • Loading branch information
xavier506 committed Sep 18, 2023
2 parents 2c080de + d7ac4c3 commit 1748ae2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ export const ParticipationCard = ({ election }: Props) => {
let statusButton = null;

if (!ualAccount) {
participationCallLabel = "Sign in to participate.";
participationActionLabel = "I want to participate";
participationCallLabel = `Sign in to participate. You must choose "${participationActionLabel}" by ${electionParticipationLimitTime} to vote in the election.`;
statusButton = (
<Button onClick={ualShowModal}>Sign in to participate</Button>
);
Expand Down

0 comments on commit 1748ae2

Please sign in to comment.