Skip to content

Commit 9b74854

Browse files
author
ria-ahyoung
committed
fix: modify broken legacy API links in version tab (v6/v5)
1 parent 98133e6 commit 9b74854

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ApiGallery.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default function ApiGallery() {
1818

1919
if (version !== 7) {
2020
router.push(
21-
`https://react-hook-form-website-git-leagcy-hook-form.vercel.app/${version}/api`
21+
`https://react-hook-form-website-git-leagcy-hook-form.vercel.app/v${version}/api`
2222
)
2323
} else {
2424
router.push(`/v${version}/docs/`)

0 commit comments

Comments
 (0)