From 8be0db385a80cd416486bfb4d04fe81ed54f9237 Mon Sep 17 00:00:00 2001 From: JamBalaya56562 Date: Sun, 3 Aug 2025 17:25:06 +0900 Subject: [PATCH] refactor: lint apps/components/shared files --- apps/dokploy/components/shared/ChatwootWidget.tsx | 6 +++--- apps/dokploy/components/shared/alert-block.tsx | 6 +++--- .../components/shared/breadcrumb-sidebar.tsx | 8 ++++---- apps/dokploy/components/shared/code-editor.tsx | 15 ++++++--------- apps/dokploy/components/shared/date-tooltip.tsx | 2 +- apps/dokploy/components/shared/drawer-logs.tsx | 8 ++++---- .../components/shared/toggle-visibility-input.tsx | 13 ++++++++----- 7 files changed, 29 insertions(+), 29 deletions(-) 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 = ({