Files
heygermany-e2e-mrg46en3/apps/website/hooks/candidate/useCandidateForm.ts
e2e 6e43ee3df9
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:40:10 +02:00

10 lines
285 B
TypeScript

import { ApplicationCandidateData } from "@heygermany/sdk"
import { useForm } from "react-hook-form"
export const useCandidateForm = (candidate: ApplicationCandidateData) => {
const methods = useForm<ApplicationCandidateData>({
defaultValues: candidate,
})
return methods
}