Files
heygermany-e2e-mrg5ct1q/apps/website/hooks/company/useGetCompanyCandidates.ts
e2e 2c4174b44b
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:13:08 +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', {})
})
}