refactor: update Chatwoot widget settings and types to enhance configuration options

This commit is contained in:
Mauricio Siu
2025-05-28 02:33:14 -06:00
parent 037343a796
commit 4aac3476b6
2 changed files with 15 additions and 17 deletions

View File

@@ -39,7 +39,6 @@ export const ChatwootWidget = ({
// Configurar los settings de Chatwoot
window.chatwootSettings = {
position: "right",
darkMode: false,
};
(window as any).chatwootSDKReady = () => {
@@ -52,7 +51,6 @@ export const ChatwootWidget = ({
name: user.name,
avatar_url: user.avatarUrl,
phone_number: user.phoneNumber,
...user.customAttributes,
});
}
};