Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/theme/DocItem/Layout/useZendesk.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Loading