docs(www): remove unused Link import in form docs. (#1251)

Co-authored-by: shadcn <m@shadcn.com>
This commit is contained in:
vinay
2023-08-17 15:20:34 +05:30
committed by GitHub
parent 7a1f80af2c
commit f68976b667

View File

@@ -126,7 +126,6 @@ Define the shape of your form using a Zod schema. You can read more about using
```tsx showLineNumbers {4,6-8}
"use client"
import Link from "next/link"
import * as z from "zod"
const formSchema = z.object({
@@ -141,7 +140,6 @@ Use the `useForm` hook from `react-hook-form` to create a form.
```tsx showLineNumbers {4,14-20,22-27}
"use client"
import Link from "next/link"
import { zodResolver } from "@hookform/resolvers/zod"
import * as z from "zod"
@@ -178,7 +176,6 @@ We can now use the `<Form />` components to build our form.
```tsx showLineNumbers {7-17,28-50}
"use client"
import Link from "next/link"
import { zodResolver } from "@hookform/resolvers/zod"
import * as z from "zod"