From c8a5580fa7fbe3f69abab687a983b9cdee1e6328 Mon Sep 17 00:00:00 2001 From: Mikhail Date: Wed, 17 May 2023 17:08:37 +0000 Subject: [PATCH] Users: replacing table with dataGrid && --- src/pages/dashboard/Content/Support/Chat/Chat.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pages/dashboard/Content/Support/Chat/Chat.tsx b/src/pages/dashboard/Content/Support/Chat/Chat.tsx index 8689102..a3184a8 100644 --- a/src/pages/dashboard/Content/Support/Chat/Chat.tsx +++ b/src/pages/dashboard/Content/Support/Chat/Chat.tsx @@ -62,7 +62,6 @@ export default function Chat() { }, [messageApiPage, messagesPerPage, ticketId]); useEffect(function subscribeToMessages() { -==== BASE ==== if (!ticketId) return; if (!token) return; @@ -84,7 +83,6 @@ export default function Chat() { console.log("SSE Error:", event); }, }); -==== BASE ==== return () => { unsubscribe();