From 47e23caf668311519c987e89d4ebc7fe25fa854b Mon Sep 17 00:00:00 2001 From: NotII <46204250+NotII@users.noreply.github.com> Date: Sat, 8 Mar 2025 05:45:49 +0000 Subject: [PATCH] Update ChatNotifications.tsx --- components/dashboard/ChatNotifications.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/dashboard/ChatNotifications.tsx b/components/dashboard/ChatNotifications.tsx index 8897dca..a2d3ca7 100644 --- a/components/dashboard/ChatNotifications.tsx +++ b/components/dashboard/ChatNotifications.tsx @@ -27,9 +27,7 @@ export default function ChatNotifications() { const [chatMetadata, setChatMetadata] = useState>({}); const audioRef = useRef(null); - // Initialize audio element useEffect(() => { - // Create audio element for notification sound audioRef.current = new Audio('/notification.mp3'); // Fallback if notification.mp3 doesn't exist - use browser API for a simple beep