From a03f1dc2ac25579df30e8cb59d2703110c3e564d Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Wed, 13 Mar 2024 22:37:41 +0000 Subject: lint: Lint and format the entire repo with the new configs --- .../components/dashboard/sidebar/NewListModal.tsx | 28 +++++++++------------- 1 file changed, 11 insertions(+), 17 deletions(-) (limited to 'apps/web/components/dashboard/sidebar/NewListModal.tsx') diff --git a/apps/web/components/dashboard/sidebar/NewListModal.tsx b/apps/web/components/dashboard/sidebar/NewListModal.tsx index f51616ed..e244411d 100644 --- a/apps/web/components/dashboard/sidebar/NewListModal.tsx +++ b/apps/web/components/dashboard/sidebar/NewListModal.tsx @@ -1,14 +1,5 @@ "use client"; -import data from "@emoji-mart/data"; -import Picker from "@emoji-mart/react"; - -import { - Popover, - PopoverContent, - PopoverTrigger, -} from "@/components/ui/popover"; - import { ActionButton } from "@/components/ui/action-button"; import { Button } from "@/components/ui/button"; import { @@ -18,7 +9,6 @@ import { DialogFooter, DialogHeader, DialogTitle, - DialogTrigger, } from "@/components/ui/dialog"; import { Form, @@ -27,15 +17,19 @@ import { FormItem, FormMessage, } from "@/components/ui/form"; - +import { Input } from "@/components/ui/input"; +import { + Popover, + PopoverContent, + PopoverTrigger, +} from "@/components/ui/popover"; import { toast } from "@/components/ui/use-toast"; import { api } from "@/lib/trpc"; - -import { z } from "zod"; -import { useForm } from "react-hook-form"; +import data from "@emoji-mart/data"; +import Picker from "@emoji-mart/react"; import { zodResolver } from "@hookform/resolvers/zod"; -import { Input } from "@/components/ui/input"; - +import { useForm } from "react-hook-form"; +import { z } from "zod"; import { create } from "zustand"; export const useNewListModal = create<{ @@ -113,7 +107,7 @@ export default function NewListModal() { - + {field.value} -- cgit v1.2.3-70-g09d2