Skip to content

Commit 5b6e907

Browse files
committed
Update use of chat-provider v6
1 parent b6df346 commit 5b6e907

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/compass-assistant/src/components/assistant-chat.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { useTelemetry } from '@mongodb-js/compass-telemetry/provider';
2222
import { NON_GENUINE_WARNING_MESSAGE } from '../preset-messages';
2323

2424
const { ChatWindow } = LgChatChatWindow;
25-
const { LeafyGreenChatProvider, Variant } = LgChatLeafygreenChatProvider;
25+
const { LeafyGreenChatProvider } = LgChatLeafygreenChatProvider;
2626
const { Message } = LgChatMessage;
2727
const { InputBar } = LgChatInputBar;
2828

@@ -366,7 +366,7 @@ export const AssistantChat: React.FunctionComponent<AssistantChatProps> = ({
366366
)}
367367
style={chatContainerOverrideStyle}
368368
>
369-
<LeafyGreenChatProvider variant={Variant.Compact}>
369+
<LeafyGreenChatProvider>
370370
<ChatWindow title="MongoDB Assistant" className={chatWindowFixesStyles}>
371371
<div
372372
data-testid="assistant-chat-messages"

0 commit comments

Comments
 (0)