Files
heygermany-e2e-mrg1mo7z/apps/website/hooks/backoffice/useGetBackOfficeCandidates.ts
e2e aae77ea31e
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 09:28:50 +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', {})
})
}