From 29f67afdefd07fc7c8aa62109e8ff42b673a342d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Musia=C5=82?= Date: Wed, 7 Feb 2024 13:27:46 +0100 Subject: [PATCH] fix(AI-130): removed a double chat initialization (#20) --- .../+chat/containers/chat-example/chat-example.component.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/spa/src/app/modules/+chat/containers/chat-example/chat-example.component.ts b/apps/spa/src/app/modules/+chat/containers/chat-example/chat-example.component.ts index 7dec2b9..2cc0624 100644 --- a/apps/spa/src/app/modules/+chat/containers/chat-example/chat-example.component.ts +++ b/apps/spa/src/app/modules/+chat/containers/chat-example/chat-example.component.ts @@ -36,8 +36,6 @@ new AssistantIframe({ \`\`\``; constructor(private readonly chatService: ChatService) { - this.chatService.loadScript(); - if (environment.env === 'prod') { this.chatService.loadScript(); } else {