Update ChatTable.tsx
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user