Skip to content

Commit b2de1a7

Browse files
committed
Brign decorator back and update new citation tests
1 parent ffed3fa commit b2de1a7

4 files changed

Lines changed: 5 additions & 3 deletions

File tree

220 Bytes
Loading
-41 Bytes
Loading
-21 Bytes
Loading

packages/fluent-theme/src/private/FluentThemeProvider.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
useDecoratorRequest,
99
type DecoratorMiddleware
1010
} from 'botframework-webchat-api/decorator';
11-
import { BorderFlair } from 'botframework-webchat-component/decorator';
11+
import { BorderFlair, WebChatDecorator } from 'botframework-webchat-component/decorator';
1212
import { Components } from 'botframework-webchat-component';
1313
import React, { memo, type ReactNode } from 'react';
1414

@@ -22,8 +22,8 @@ import { TelephoneKeypadProvider } from '../components/telephoneKeypad';
2222
import { WebChatTheme } from '../components/theme';
2323
import SlidingDotsTypingIndicator from '../components/typingIndicator/SlidingDotsTypingIndicator';
2424
import { createStyles } from '../styles';
25-
import VariantComposer, { VariantList } from './VariantComposer';
2625
import { composePipeline } from './composePipeline';
26+
import VariantComposer, { VariantList } from './VariantComposer';
2727

2828
const { ThemeProvider } = Components;
2929

@@ -113,7 +113,9 @@ function FluentThemeProvider({ children, variant = 'fluent' }: FluentThemeProvid
113113
typingIndicatorMiddleware={typingIndicatorMiddleware}
114114
>
115115
<AssetComposer>
116-
<DecoratorComposer middleware={decoratorMiddleware}>{children}</DecoratorComposer>
116+
<WebChatDecorator>
117+
<DecoratorComposer middleware={decoratorMiddleware}>{children}</DecoratorComposer>
118+
</WebChatDecorator>
117119
</AssetComposer>
118120
</ThemeProvider>
119121
</TelephoneKeypadProvider>

0 commit comments

Comments
 (0)