diff --git a/src/components/Projects/ListProjectSolutions.tsx b/src/components/Projects/ListProjectSolutions.tsx
index 28542a88f..f4dfa95f1 100644
--- a/src/components/Projects/ListProjectSolutions.tsx
+++ b/src/components/Projects/ListProjectSolutions.tsx
@@ -268,7 +268,7 @@ export function ListProjectSolutions(props: ListProjectSolutionsProps) {
-
+
{
handleSubmitVote(solution._id!, 'downvote');
}}
diff --git a/src/components/Projects/VoteButton.tsx b/src/components/Projects/VoteButton.tsx
index 3b047ae79..15feb7254 100644
--- a/src/components/Projects/VoteButton.tsx
+++ b/src/components/Projects/VoteButton.tsx
@@ -5,14 +5,15 @@ type VoteButtonProps = {
icon: LucideIcon;
isActive: boolean;
count: number;
+ hideCount?: boolean;
onClick: () => void;
};
export function VoteButton(props: VoteButtonProps) {
- const { icon: VoteIcon, isActive, count, onClick } = props;
+ const { icon: VoteIcon, isActive, hideCount = false, count, onClick } = props;
return (
);
}