| 10 | import { VoteType } from '@prisma/client'; |
| 11 | import { usePathname } from 'next/navigation'; |
| 12 | interface IVoteFormProps { |
| 13 | questionId: number | undefined; |
| 14 | answerId: number | undefined; |
| 15 | upvotes: number; |
| 16 | downvotes: number; |
| 17 | votesArr: any[]; |
| 18 | slug: string; |
| 19 | } |
| 20 | |
| 21 | const VoteForm: React.FC<IVoteFormProps> = ({ |
| 22 | questionId, |
nothing calls this directly
no outgoing calls
no test coverage detected