From c7283a4ff330aed98d45921ffc7139bb0022af50 Mon Sep 17 00:00:00 2001 From: Felix Nana Yaw Yeboah <87368189+felixyeboah@users.noreply.github.com> Date: Fri, 23 Aug 2024 18:40:21 +0000 Subject: [PATCH] docs: grammatical changes on FormProvider.md (#751) --- docs/api/react/FormProvider.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api/react/FormProvider.md b/docs/api/react/FormProvider.md index c0189f5f..d37d6400 100644 --- a/docs/api/react/FormProvider.md +++ b/docs/api/react/FormProvider.md @@ -42,13 +42,13 @@ function Example() { ### FormProvider can be nested -This is useful if you need to have one form inside another due to layout constraint. +This is useful if you need to have one form inside another due to layout constraints. ```tsx import { FormProvider, useForm } from '@conform-to/react'; function Field({ name, formId }) { - // useField will looks for the closest FormContext if no formId is provided + // useField will look for the closest FormContext if no formId is provided const [meta] = useField(name, { formId }); return ; @@ -74,7 +74,7 @@ function Child() {