chore: heygermany customer project
This commit is contained in:
10
apps/website/hooks/candidate/useCandidateForm.ts
Normal file
10
apps/website/hooks/candidate/useCandidateForm.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { ApplicationCandidateData } from "@heygermany/sdk"
|
||||
import { useForm } from "react-hook-form"
|
||||
|
||||
export const useCandidateForm = (candidate: ApplicationCandidateData) => {
|
||||
const methods = useForm<ApplicationCandidateData>({
|
||||
defaultValues: candidate,
|
||||
})
|
||||
|
||||
return methods
|
||||
}
|
||||
Reference in New Issue
Block a user