Files
heygermany-e2e-mrg511by/apps/website/hooks/company/useGetCompanyCandidates.ts
e2e 36f1b746bd
Some checks failed
Main / Setup and Test (push) Has been cancelled
Main / Build Website (push) Has been cancelled
chore: heygermany customer project
2026-07-11 11:03:59 +02:00

10 lines
283 B
TypeScript

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', {})
})
}