Skip to content

Commit a0a580d

Browse files
authored
fix: mobile nav to API sub-pages (#1185)
1 parent f1750c5 commit a0a580d

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

src/content/docs/useformstate.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ sidebar: apiLinks
88
options={[
99
{
1010
label: "FormStateSubscribe",
11-
value: "/docs/formstatesubscribe",
11+
value: "/docs/useformstate/formstatesubscribe",
12+
},
13+
{
14+
label: "ErrorMessage",
15+
value: "/docs/useformstate/errormessage",
1216
},
1317
]}
1418
/>

src/content/docs/usewatch.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ description: React Hook for subscribing to input changes
44
sidebar: apiLinks
55
---
66

7+
<SelectNav
8+
options={[
9+
{
10+
label: "Watch",
11+
value: "/docs/usewatch/watch",
12+
}
13+
]}
14+
/>
15+
716
## \</> `useWatch:` <TypeText>`({ control?: Control, name?: string, defaultValue?: unknown, disabled?: boolean }) => object`</TypeText>
817

918
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.

0 commit comments

Comments
 (0)