Skip to content

Commit 9794b1d

Browse files
committed
feat: display right reward wording for none hackathon challenge
1 parent a0737c4 commit 9794b1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/cards/challenge/Challenge.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default function ChallengeCard({ data, community, isCourseEnd }: Challeng
5757
<div className="md:pl-2 max-w-max">
5858
<div className="flex text-sm text-gray-700">
5959
<span className="block font-medium">
60-
{`${data?.isHackathon && "$"} ${totalReward} ${data?.isHackathon ? `Prize Pool Rewards` : `${reward?.token} Rewards`}`}
60+
{`${data?.isHackathon ? "$" : ""} ${totalReward} ${data?.isHackathon ? `Prize Pool Rewards` : `${reward?.token} Rewards`}`}
6161
</span>
6262
</div>
6363
<div className="text-gray-400 text-xs font-normal">{data?.isHackathon ? "Top projects win money prizes" : "For submission and feedback"}</div>

0 commit comments

Comments
 (0)