TypeScript: pass result of useForm as component props - TanStack