diff --git a/src/features/Projects/Components/ProjectCardMini/ProjectCardMini.tsx b/src/features/Projects/Components/ProjectCardMini/ProjectCardMini.tsx index 619c65e..70bf777 100644 --- a/src/features/Projects/Components/ProjectCardMini/ProjectCardMini.tsx +++ b/src/features/Projects/Components/ProjectCardMini/ProjectCardMini.tsx @@ -12,25 +12,19 @@ interface Props { } export default function ProjectCardMini({ project, onClick }: Props) { - const { vote } = useVote({ - itemId: project.id, - itemType: Vote_Item_Type.Project - }); - return (
{project.title}
{project.category.title}
diff --git a/src/features/Projects/pages/ExplorePage/ProjectsSection/ProjectsSection.tsx b/src/features/Projects/pages/ExplorePage/ProjectsSection/ProjectsSection.tsx index 0013633..3fb873d 100644 --- a/src/features/Projects/pages/ExplorePage/ProjectsSection/ProjectsSection.tsx +++ b/src/features/Projects/pages/ExplorePage/ProjectsSection/ProjectsSection.tsx @@ -3,9 +3,10 @@ import ProjectsRow from "../ProjectsRow/ProjectsRow"; import ProjectsRowSkeleton from "../ProjectsRow/ProjectsRow.Skeleton"; import { MdLocalFireDepartment } from "react-icons/md"; import { useExploreProjectsQuery } from "src/graphql"; +import React from "react"; -export default function ProjectsSection() { +function ProjectsSection() { const { data, loading } = useExploreProjectsQuery(); @@ -42,3 +43,5 @@ export default function ProjectsSection() {