From 06812a82c132ba9f057f8c45f62815c4016762d7 Mon Sep 17 00:00:00 2001 From: Emilio Heinzmann Date: Mon, 20 May 2024 20:19:47 -0300 Subject: [PATCH] style: remove unused imports --- src/app/page.tsx | 11 ----------- src/components/header/nav/index.tsx | 1 - src/components/header/user/index.tsx | 2 +- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 3643be0..b99578b 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -2,7 +2,6 @@ import { Card } from "~/components/card/"; import { SearchInput } from "~/components/search-input"; import { api } from "~/trpc/react"; -import { Filters } from "~/components/filters"; import Fuse from "fuse.js"; import { useMemo } from "react"; import { Skeleton } from "~/components/ui/skeleton"; @@ -10,16 +9,6 @@ import { useDebouncedState } from "~/hooks/use-debouced-state"; import { Alert, AlertDescription, AlertTitle } from "~/components/ui/alert"; import { FiInfo } from "react-icons/fi"; -const menus = [ - { - label: "Disponibilidade", - items: [ - { label: "Com vagas", checked: true }, - { label: "Sem vagas", checked: false }, - ], - }, -]; - export default function Home() { const { data, isLoading } = api.shelter.findAll.useQuery(); const [searchTerm, setSearchTerm] = useDebouncedState("", 300); diff --git a/src/components/header/nav/index.tsx b/src/components/header/nav/index.tsx index aaa56f6..629c1b6 100644 --- a/src/components/header/nav/index.tsx +++ b/src/components/header/nav/index.tsx @@ -1,5 +1,4 @@ "use client"; -import { useRouter } from "next/navigation"; import { Button } from "~/components/ui/button"; import { useSession, signOut } from "next-auth/react"; diff --git a/src/components/header/user/index.tsx b/src/components/header/user/index.tsx index 1b29cd0..f533203 100644 --- a/src/components/header/user/index.tsx +++ b/src/components/header/user/index.tsx @@ -1,7 +1,7 @@ "use client"; import Image from "next/image"; -import { useSession, signIn } from "next-auth/react"; +import { useSession } from "next-auth/react"; import { Avatar, AvatarFallback, AvatarImage } from "~/components/ui/avatar"; import { Button } from "~/components/ui/button";