Files
heygermany-e2e-mrg3vnfz/apps/website/hooks/backoffice/useGetBackOfficeCandidates.ts
e2e 81ea8ef5d1
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 10:31:48 +02:00

10 lines
292 B
TypeScript

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