mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-27 22:54:18 +00:00
docs(www): remove unused Link import in form docs. (#1251)
Co-authored-by: shadcn <m@shadcn.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user