Update ChatTable.tsx
This commit is contained in:
@@ -120,7 +120,7 @@ export default function ChatTable() {
|
|||||||
|
|
||||||
// Play sound if there are new messages
|
// Play sound if there are new messages
|
||||||
if (newUnreadCounts.totalUnread > unreadCounts.totalUnread) {
|
if (newUnreadCounts.totalUnread > unreadCounts.totalUnread) {
|
||||||
playNotificationSound();
|
//playNotificationSound();
|
||||||
}
|
}
|
||||||
|
|
||||||
setUnreadCounts(newUnreadCounts);
|
setUnreadCounts(newUnreadCounts);
|
||||||
@@ -226,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>
|
||||||
<User className="h-4 w-4" />
|
<User className="h-4t w-4" />
|
||||||
</AvatarFallback>
|
</AvatarFallback>
|
||||||
</Avatar>
|
</Avatar>
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
Reference in New Issue
Block a user