Skip to content

Commit

Permalink
docs(www): remove unused Link import in form docs. (shadcn-ui#1251)
Browse files Browse the repository at this point in the history
Co-authored-by: shadcn <[email protected]>
  • Loading branch information
2 people authored and lloydrichards committed Oct 3, 2023
1 parent 566019e commit 056f798
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions apps/www/content/docs/components/form.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand All @@ -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"

Expand Down Expand Up @@ -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"

Expand Down

0 comments on commit 056f798

Please sign in to comment.