Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wording: update allowlist wording to present tense #3027

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading