diff --git a/src/modules/project/components/ProjectDiscovery.tsx b/src/modules/project/components/ProjectDiscovery.tsx index c552d767..f5cb7fff 100644 --- a/src/modules/project/components/ProjectDiscovery.tsx +++ b/src/modules/project/components/ProjectDiscovery.tsx @@ -1,4 +1,4 @@ -import { useMemo, useState } from "react"; +import { useMemo } from "react"; import Image from "next/image"; @@ -22,7 +22,6 @@ import { import { ListCardSkeleton } from "@/modules/lists/components/ListCardSkeleton"; import { ProjectCard } from "./ProjectCard"; -// import { useProjectsFilters } from "../hooks/useProjectsFilters"; import { categories, statuses } from "../constants"; import { useProjectLookup } from "../hooks/lookup"; import { ProjectCategory, ProjectListingStatusVariant } from "../types"; @@ -43,8 +42,6 @@ export const ProjectDiscovery = () => { totalProjectCount, } = useProjectLookup({ listId: 1 }); - console.log(projects.map((project) => project.registrant.id)); - const tagList = useMemo( () => [ { @@ -82,14 +79,14 @@ export const ProjectDiscovery = () => { setProjectStatusFilter, ], ); + return (
- All projects - + {"All projects"} + + {totalProjectCount}
@@ -111,6 +108,7 @@ export const ProjectDiscovery = () => { />
+ {loading ? ( Array.from({ length: 6 }, (_, index) => ( @@ -125,6 +123,7 @@ export const ProjectDiscovery = () => { /> ))} +