From 474954378a8b850952e8264f37f1c5fcc95cf529 Mon Sep 17 00:00:00 2001 From: Deveesh Shetty Date: Mon, 21 Aug 2023 22:21:15 +0530 Subject: [PATCH 1/2] chore: remove uneccesary imports --- apps/www/registry/default/example/textarea-form.tsx | 4 ---- 1 file changed, 4 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" From 5e8c250b626fb9a7d9efc9eae376650f79953fce Mon Sep 17 00:00:00 2001 From: Deveesh Shetty Date: Mon, 21 Aug 2023 22:32:00 +0530 Subject: [PATCH 2/2] chore: remove from new-york style --- apps/www/registry/new-york/example/textarea-form.tsx | 4 ---- 1 file changed, 4 deletions(-) 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"