From 828f210072c30ea4f77092cdea3b6b32e7417aa7 Mon Sep 17 00:00:00 2001 From: prince-deriv <82309725+prince-deriv@users.noreply.github.com> Date: Thu, 17 Oct 2024 11:32:01 +0400 Subject: [PATCH] fix: destroy instead of minimize (#17229) --- .../core/src/App/Components/Elements/LiveChat/live-chat.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/App/Components/Elements/LiveChat/live-chat.tsx b/packages/core/src/App/Components/Elements/LiveChat/live-chat.tsx index 71ec82da410d..742f88d1639a 100644 --- a/packages/core/src/App/Components/Elements/LiveChat/live-chat.tsx +++ b/packages/core/src/App/Components/Elements/LiveChat/live-chat.tsx @@ -28,7 +28,7 @@ const LiveChat = observer(({ showPopover }: { showPopover?: boolean }) => { // We will add a refactor after this setInterval(() => { if (enable_freshworks_live_chat) { - window.LiveChatWidget?.call('minimize'); + window.LiveChatWidget?.call('destroy'); } }, 10);