We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02b63cc commit 3bc5c2dCopy full SHA for 3bc5c2d
1 file changed
packages/react-form/src/createFormHook.tsx
@@ -603,10 +603,7 @@ export function createFormHook<
603
const TNewForm extends Record<string, ComponentType<any>> & {
604
[K in keyof TFormComponents]?: 'Error: form component names must be unique — this key already exists in the base form'
605
},
606
- >(extension: {
607
- fieldComponents?: TNewField
608
- formComponents?: TNewForm
609
- }) {
+ >(extension: { fieldComponents?: TNewField; formComponents?: TNewForm }) {
610
return createFormHook({
611
fieldContext,
612
formContext,
0 commit comments