From afc1010787212f1ded1b6c6d164a14234d75fca5 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Sat, 20 Jan 2024 21:42:51 +0900 Subject: [PATCH] Remove unused imports --- components/chat-share-dialog.tsx | 3 --- components/header.tsx | 6 ------ 2 files changed, 9 deletions(-) diff --git a/components/chat-share-dialog.tsx b/components/chat-share-dialog.tsx index c5913f693..83bac71cb 100644 --- a/components/chat-share-dialog.tsx +++ b/components/chat-share-dialog.tsx @@ -1,13 +1,10 @@ 'use client' import * as React from 'react' -import Link from 'next/link' import { type DialogProps } from '@radix-ui/react-dialog' import { toast } from 'react-hot-toast' import { ServerActionResult, type Chat } from '@/lib/types' -import { cn } from '@/lib/utils' -import { badgeVariants } from '@/components/ui/badge' import { Button } from '@/components/ui/button' import { Dialog, diff --git a/components/header.tsx b/components/header.tsx index aa6037295..d5708c033 100644 --- a/components/header.tsx +++ b/components/header.tsx @@ -3,19 +3,13 @@ import Link from 'next/link' import { cn } from '@/lib/utils' import { auth } from '@/auth' -import { clearChats } from '@/app/actions' import { Button, buttonVariants } from '@/components/ui/button' -import { Sidebar } from '@/components/sidebar' -import { SidebarList } from '@/components/sidebar-list' import { IconGitHub, IconNextChat, IconSeparator, IconVercel } from '@/components/ui/icons' -import { SidebarFooter } from '@/components/sidebar-footer' -import { ThemeToggle } from '@/components/theme-toggle' -import { ClearHistory } from '@/components/clear-history' import { UserMenu } from '@/components/user-menu' import { SidebarMobile } from './sidebar-mobile' import { SidebarToggle } from './sidebar-toggle'