chore: heygermany customer project
This commit is contained in:
9
apps/website/hooks/company/useGetCompanyCandidates.ts
Normal file
9
apps/website/hooks/company/useGetCompanyCandidates.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
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', {})
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user