diff --git a/src/components/recruitments/RecruitmentsCard.tsx b/src/components/recruitments/RecruitmentsCard.tsx index 866b68d..d4850f4 100644 --- a/src/components/recruitments/RecruitmentsCard.tsx +++ b/src/components/recruitments/RecruitmentsCard.tsx @@ -2,11 +2,12 @@ import { useSetBookmarks } from "@/apis/bookmarks"; import { useGetRecruitmentsList } from "@/apis/recruitments"; +import { RecruitmentsListType } from "@/apis/recruitments/type"; import { money_regex } from "@/util/regex"; import { Icon } from "@team-return/design-system"; import Image from "next/image"; import { useSearchParams } from "next/navigation"; -import React from "react"; +import React, { useState } from "react"; import HoverPrefetchLink from "../common/HoverPrefetchLink"; import RecruitmentSkelton from "../common/Skelton/SkeltonElement"; @@ -17,70 +18,74 @@ interface PropsType { export default function RecruitmentsCard({ maxLength = 12 }: PropsType) { const getParams = useSearchParams(); - const { data: recruitmentsList, isLoading } = useGetRecruitmentsList(getParams.toString()); - - const { mutate: SetBookmarksMutate } = useSetBookmarks(); + const { data: recruitmentsList, isLoading } = useGetRecruitmentsList( + getParams.toString() + ); return (
- {hiring_jobs} -
-- {company_name} -
-+ {hiring_jobs} +
++ {company_name} +
+