diff --git a/src/features/Projects/Components/ProjectCardMini/ProjectCardMini.tsx b/src/features/Projects/Components/ProjectCardMini/ProjectCardMini.tsx index d93a90d..447f34c 100644 --- a/src/features/Projects/Components/ProjectCardMini/ProjectCardMini.tsx +++ b/src/features/Projects/Components/ProjectCardMini/ProjectCardMini.tsx @@ -36,7 +36,11 @@ export default function ProjectCardMini({ project, onClick }: Props) {

{project.category.title}

{/* {numberFormatter(project.votes_count)} */} - + {/* */} +
+ + {numberFormatter(project.votes_count)} +
); } diff --git a/src/features/Projects/pages/ExplorePage/ProjectsRow/ProjectsRow.tsx b/src/features/Projects/pages/ExplorePage/ProjectsRow/ProjectsRow.tsx index 6b63b9a..08717e7 100644 --- a/src/features/Projects/pages/ExplorePage/ProjectsRow/ProjectsRow.tsx +++ b/src/features/Projects/pages/ExplorePage/ProjectsRow/ProjectsRow.tsx @@ -31,7 +31,7 @@ const responsive = { // } function calcNumItems() { - const items = (((window.innerWidth - 2 * 32) / (300 + 20))); + const items = (((window.innerWidth - 2 * 32) / (296 + 20))); return items; } @@ -112,7 +112,7 @@ export default function ProjectsRow({ title, link, projects }: Props) { } > {projects.map((project, idx) => -
+
)}