From a76fe6b98e37074508e8fb280996ceceeaf2122a Mon Sep 17 00:00:00 2001 From: Noe TATOUD Date: Fri, 12 Dec 2025 20:41:16 +0100 Subject: [PATCH] fix: mobile nav to API sub-pages --- src/content/docs/useformstate.mdx | 6 +++++- src/content/docs/usewatch.mdx | 9 +++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/content/docs/useformstate.mdx b/src/content/docs/useformstate.mdx index 06256f478..b29e917ee 100644 --- a/src/content/docs/useformstate.mdx +++ b/src/content/docs/useformstate.mdx @@ -8,7 +8,11 @@ sidebar: apiLinks options={[ { label: "FormStateSubscribe", - value: "/docs/formstatesubscribe", + value: "/docs/useformstate/formstatesubscribe", + }, + { + label: "ErrorMessage", + value: "/docs/useformstate/errormessage", }, ]} /> diff --git a/src/content/docs/usewatch.mdx b/src/content/docs/usewatch.mdx index ed5163f17..3f1d02cd8 100644 --- a/src/content/docs/usewatch.mdx +++ b/src/content/docs/usewatch.mdx @@ -4,6 +4,15 @@ description: React Hook for subscribing to input changes sidebar: apiLinks --- + + ## \ `useWatch:` `({ control?: Control, name?: string, defaultValue?: unknown, disabled?: boolean }) => object` Behaves similarly to the `watch` API, however, this will isolate re-rendering at the custom hook level and potentially result in better performance for your application.