Update ChatTable.tsx

This commit is contained in:
NotII
2025-03-08 05:31:27 +00:00
parent dbd65415d5
commit 517d81080d

View File

@@ -18,7 +18,8 @@ import {
Plus, Plus,
MessageCircle, MessageCircle,
Loader2, Loader2,
RefreshCw RefreshCw,
Eye
} from "lucide-react"; } from "lucide-react";
import axios from "axios"; import axios from "axios";
import { toast } from "sonner"; import { toast } from "sonner";
@@ -251,13 +252,13 @@ export default function ChatTable() {
<TableCell className="text-right"> <TableCell className="text-right">
<Button <Button
variant="ghost" variant="ghost"
size="sm" size="icon"
onClick={(e) => { onClick={(e) => {
e.stopPropagation(); e.stopPropagation();
handleChatClick(chat._id); handleChatClick(chat._id);
}} }}
> >
View <Eye className="h-4 w-4" />
</Button> </Button>
</TableCell> </TableCell>
</TableRow> </TableRow>