Files
heygermany-e2e-mrg2zk24/apps/website/hooks/candidate/useCandidateForm.ts
e2e 373b42a994
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:06:51 +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
}