From 88fdc989e9cfc0c8a11f8f8949af90fcddd3e013 Mon Sep 17 00:00:00 2001 From: Deveesh Shetty <89470104+Deveesh-Shetty@users.noreply.github.com> Date: Thu, 24 Aug 2023 10:56:12 +0530 Subject: [PATCH] chore(www): remove unneccesary imports (#1311) * chore: remove uneccesary imports * chore: remove from new-york style --------- Co-authored-by: shadcn --- apps/www/registry/default/example/textarea-form.tsx | 4 ---- apps/www/registry/new-york/example/textarea-form.tsx | 4 ---- 2 files changed, 8 deletions(-) diff --git a/apps/www/registry/default/example/textarea-form.tsx b/apps/www/registry/default/example/textarea-form.tsx index 15d7b7bbf67..be39ca86c64 100644 --- a/apps/www/registry/default/example/textarea-form.tsx +++ b/apps/www/registry/default/example/textarea-form.tsx @@ -1,12 +1,10 @@ "use client" -import Link from "next/link" import { zodResolver } from "@hookform/resolvers/zod" import { useForm } from "react-hook-form" import * as z from "zod" import { Button } from "@/registry/default/ui/button" -import { Checkbox } from "@/registry/default/ui/checkbox" import { Form, FormControl, @@ -16,8 +14,6 @@ import { FormLabel, FormMessage, } from "@/registry/default/ui/form" -import { RadioGroup, RadioGroupItem } from "@/registry/default/ui/radio-group" -import { Switch } from "@/registry/default/ui/switch" import { Textarea } from "@/registry/default/ui/textarea" import { toast } from "@/registry/default/ui/use-toast" diff --git a/apps/www/registry/new-york/example/textarea-form.tsx b/apps/www/registry/new-york/example/textarea-form.tsx index 4ae77f5e474..b56d1246b49 100644 --- a/apps/www/registry/new-york/example/textarea-form.tsx +++ b/apps/www/registry/new-york/example/textarea-form.tsx @@ -1,12 +1,10 @@ "use client" -import Link from "next/link" import { zodResolver } from "@hookform/resolvers/zod" import { useForm } from "react-hook-form" import * as z from "zod" import { Button } from "@/registry/new-york/ui/button" -import { Checkbox } from "@/registry/new-york/ui/checkbox" import { Form, FormControl, @@ -16,8 +14,6 @@ import { FormLabel, FormMessage, } from "@/registry/new-york/ui/form" -import { RadioGroup, RadioGroupItem } from "@/registry/new-york/ui/radio-group" -import { Switch } from "@/registry/new-york/ui/switch" import { Textarea } from "@/registry/new-york/ui/textarea" import { toast } from "@/registry/new-york/ui/use-toast"