diff --git a/app/(route)/challenge/_components/ChallengeCard.tsx b/app/(route)/challenge/_components/ChallengeCard.tsx index 7705b81..f074297 100644 --- a/app/(route)/challenge/_components/ChallengeCard.tsx +++ b/app/(route)/challenge/_components/ChallengeCard.tsx @@ -1,10 +1,17 @@ import Image from 'next/image' +import Link from 'next/link' import RightArrowIcon from '@/app/_components/icons/RightArrowIcon' +import { ROUTE } from '@/app/_constants/route' +import { type Challenge } from '@/app/_service/challenge/challenge.types' -export default function ChallengeCard() { +interface ChallengeCardProps { + challenge: Challenge +} + +export default function ChallengeCard({ challenge }: ChallengeCardProps) { return ( -