Skip to content

Commit

Permalink
wording: update allowlist wording to present tense (#3027)
Browse files Browse the repository at this point in the history
  • Loading branch information
nakedfool authored Dec 5, 2024
1 parent ed8135d commit 71bb1c8
Showing 1 changed file with 5 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,38 +28,27 @@ const SubmissionQualifierMessage: FC<SubmissionQualifierMessageProps> = ({
if (isContestOpen) {
if (canSubmit) {
return (
<p className="text-[16px] text-secondary-11">
good news: you qualify to submit a response once the contest opens
</p>
<p className="text-[16px] text-secondary-11">good news: you qualify to enter this contest once it opens</p>
);
}
if (!currentUserQualifiedToSubmit) {
return (
<p className="text-[16px] text-secondary-11">
unfortunately, your wallet wasn’t allowlisted to submit in this contest.
</p>
);
return <p className="text-[16px] text-secondary-11">you're not allowlisted to enter this contest</p>;
}
}

if (contestStatus === ContestStatus.SubmissionOpen) {
if (hasReachedMaxSubmissions) {
return <p className="text-[16px] text-secondary-11">you’ve reached your max submissions with this account</p>;
return <p className="text-[16px] text-secondary-11">you’ve reached your max entries with this account</p>;
}
if (!currentUserQualifiedToSubmit) {
if (canVote) {
return (
<p className="text-[16px] text-secondary-11">
unfortunately, your wallet wasn’t allowlisted to submit in this contest, but you <i>were</i> allowlisted to
vote
you're not allowlisted to enter this contest, but you can vote in it once voting opens
</p>
);
}
return (
<p className="text-[16px] text-secondary-11">
unfortunately, your wallet wasn’t allowlisted to submit in this contest.
</p>
);
return <p className="text-[16px] text-secondary-11">you're not allowlisted to enter this contest</p>;
}
}

Expand Down

0 comments on commit 71bb1c8

Please sign in to comment.