diff --git a/apps/dokploy/components/shared/ChatwootWidget.tsx b/apps/dokploy/components/shared/ChatwootWidget.tsx index 6694b13cc..3d20918e6 100644 --- a/apps/dokploy/components/shared/ChatwootWidget.tsx +++ b/apps/dokploy/components/shared/ChatwootWidget.tsx @@ -10,7 +10,7 @@ interface ChatwootWidgetProps { launcherTitle?: string; darkMode?: boolean; hideMessageBubble?: boolean; - placement?: "right" | "left"; + placement?: "left" | "right"; showPopoutButton?: boolean; widgetStyle?: "standard" | "bubble"; }; @@ -41,7 +41,7 @@ export const ChatwootWidget = ({ position: "right", }; - (window as any).chatwootSDKReady = () => { + window.chatwootSDKReady = () => { window.chatwootSDK?.run({ websiteToken, baseUrl }); const trySetUser = () => { @@ -63,7 +63,7 @@ export const ChatwootWidget = ({