Spaces:
Building
Building
Update flare-ui/src/app/components/chat/chat.component.ts
Browse files
flare-ui/src/app/components/chat/chat.component.ts
CHANGED
@@ -192,8 +192,7 @@ export class ChatComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
192 |
|
193 |
private async openRealtimeDialog(sessionId: string): Promise<void> {
|
194 |
try {
|
195 |
-
const
|
196 |
-
const RealtimeChatComponent = module.RealtimeChatComponent;
|
197 |
|
198 |
const dialogRef = this.dialog.open(RealtimeChatComponent, {
|
199 |
width: '90%',
|
|
|
192 |
|
193 |
private async openRealtimeDialog(sessionId: string): Promise<void> {
|
194 |
try {
|
195 |
+
const { RealtimeChatComponent } = await import('./realtime-chat.component');
|
|
|
196 |
|
197 |
const dialogRef = this.dialog.open(RealtimeChatComponent, {
|
198 |
width: '90%',
|