From 55d22e2f5271312582305e6ea8a2988065b4da15 Mon Sep 17 00:00:00 2001 From: FleetAdmiralJakob Date: Sun, 12 May 2024 11:31:33 +0200 Subject: [PATCH] refactor: use the badge component The badge component was never used --- src/components/homepage/chat-overview.tsx | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/components/homepage/chat-overview.tsx b/src/components/homepage/chat-overview.tsx index 06d0b363..c8c86b9b 100644 --- a/src/components/homepage/chat-overview.tsx +++ b/src/components/homepage/chat-overview.tsx @@ -6,8 +6,9 @@ import { api } from "../../../convex/_generated/api"; import { useUser } from "@clerk/nextjs"; import { useEffect, useState } from "react"; import { type FunctionReturnType } from "convex/server"; -import { Check, MousePointerClick, NotebookText } from "lucide-react"; +import { MousePointerClick, NotebookText } from "lucide-react"; import { Avatar, AvatarFallback } from "../ui/avatar"; +import Badge from "~/components/ui/badge"; type Chats = FunctionReturnType; @@ -71,10 +72,7 @@ const Chats: React.FC = () => { C

Chat.io

-

- {" "} - Support -

+ Support

Click here

@@ -107,10 +105,7 @@ const Chats: React.FC = () => { ) : (

My Notes

-

- {" "} - Tool -

+ Tool

)}