From 7aac8b8b8175ba61c67581a0348316c0967eee7d Mon Sep 17 00:00:00 2001 From: Matthew Beard Date: Fri, 19 Dec 2025 18:17:51 +0000 Subject: [PATCH] Update window.zE call to point to new widget --- src/theme/DocItem/Layout/useZendesk.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/theme/DocItem/Layout/useZendesk.js b/src/theme/DocItem/Layout/useZendesk.js index 37975e72c..d16e6bb2f 100644 --- a/src/theme/DocItem/Layout/useZendesk.js +++ b/src/theme/DocItem/Layout/useZendesk.js @@ -21,7 +21,7 @@ const useZendesk = () => { return () => { // Check if the widget provides a specific cleanup function and call it here if (window.zE) { - window.zE('webWidget', 'hide'); // Example cleanup call, replace with actual if different + window.zE('messenger', 'hide'); // Example cleanup call, replace with actual if different } document.body.removeChild(script); setIsLoaded(false);