diff --git a/src/useForm.ts b/src/useForm.ts index 21a00a27..6bf02cf7 100644 --- a/src/useForm.ts +++ b/src/useForm.ts @@ -137,7 +137,7 @@ export class FormStore { if (process.env.NODE_ENV !== 'production' && !this.formHooked) { warning( false, - 'Instance created by `useForm` is not connect to any Form element. Forget to pass `form` prop?', + 'Instance created by `useForm` is not connected to any Form element. Forget to pass `form` prop?', ); } }; diff --git a/tests/index.test.js b/tests/index.test.js index f391156c..5ac5ad8a 100644 --- a/tests/index.test.js +++ b/tests/index.test.js @@ -660,7 +660,7 @@ describe('Form.Basic', () => { mount(); expect(errorSpy).toHaveBeenCalledWith( - 'Warning: Instance created by `useForm` is not connect to any Form element. Forget to pass `form` prop?', + 'Warning: Instance created by `useForm` is not connected to any Form element. Forget to pass `form` prop?', ); errorSpy.mockRestore(); });