| 6 | import { useRouter } from "next/navigation"; |
| 7 | |
| 8 | interface TrackCardProps extends Track { |
| 9 | problems: Problem[]; |
| 10 | categories: { |
| 11 | category: { |
| 12 | id: string; |
| 13 | category: string; |
| 14 | }; |
| 15 | }[]; |
| 16 | } |
| 17 | |
| 18 | export function TrackCard2({ track }: { track: TrackCardProps }) { |
| 19 | const router = useRouter(); |
nothing calls this directly
no outgoing calls
no test coverage detected