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

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