import { pikku } from "@/pikku/http"
import { useQuery } from "@tanstack/react-query"

export const useGetCompanyCandidates = () => {
    return useQuery({
        queryKey: ['company', 'candidates'],
        queryFn: async () => await pikku().get('/company/candidate', {})
    })
}
