Skip to content

Commit

Permalink
update vote text to account for 1 vote or multiple votes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan-Y-Ko committed Sep 5, 2023
1 parent 6416e00 commit 76664f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/ideation/components/VoteCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function VoteCard({ users, voted }: VoteCardProps) {
<h1 className="text-3xl font-semibold text-neutral-focus">
{users.length}
</h1>
<h2 className="text-xl font-semibold text-neutral-focus">Votes</h2>
<h2 className="text-xl font-semibold text-neutral-focus">{`Vote${users.length > 1 ? "s" : ""}`}</h2>
<div className="avatar-group -space-x-2 w-full">
{users.map((user) => (
<Avatar width={24} height={24} key={user} />
Expand Down

0 comments on commit 76664f1

Please sign in to comment.