Update ChatTable.tsx

This commit is contained in:
NotII
2025-03-18 04:16:11 +01:00
parent e069ca865c
commit 122c52474c

View File

@@ -19,7 +19,8 @@ import {
MessageCircle, MessageCircle,
Loader2, Loader2,
RefreshCw, RefreshCw,
Eye Eye,
User
} from "lucide-react"; } from "lucide-react";
import axios from "axios"; import axios from "axios";
import { toast } from "sonner"; import { toast } from "sonner";
@@ -225,7 +226,7 @@ export default function ChatTable() {
<div className="flex items-center space-x-3"> <div className="flex items-center space-x-3">
<Avatar> <Avatar>
<AvatarFallback> <AvatarFallback>
{chat.buyerId?.slice(0, 2).toUpperCase() || 'CU'} <User className="h-4 w-4" />
</AvatarFallback> </AvatarFallback>
</Avatar> </Avatar>
<div> <div>