File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
samples/06.recomposing-ui/c.smart-display/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import './BotResponse.css';
22
33import { Components , createAdaptiveCardsAttachmentMiddleware , hooks } from 'botframework-webchat' ;
44import React , { memo , useMemo } from 'react' ;
5- import Film from 'react-film' ;
5+ import { ReactFilm } from 'react-film' ;
66
77import useLastBotActivity from './hooks/useLastBotActivity' ;
88
@@ -25,13 +25,13 @@ function BotResponse({ lastReadActivityID }) {
2525 { ! ! ( lastBotActivity as any ) . text && (
2626 < div className = "App-BotResponse-Activity" > { ( lastBotActivity as any ) . text } </ div >
2727 ) }
28- < Film className = "App-BotResponse-Attachments" showScrollBar = { false } >
28+ < ReactFilm className = "App-BotResponse-Attachments" showScrollBar = { false } >
2929 { ( ( lastBotActivity as any ) . attachments || [ ] ) . map ( ( attachment , index ) => (
3030 < div className = "App-BotResponse-Attachment" key = { index } >
3131 { renderAttachment ( { activity : lastBotActivity , attachment } ) }
3232 </ div >
3333 ) ) }
34- </ Film >
34+ </ ReactFilm >
3535 { lastBotActivity . channelData ?. speak && < SpeakActivity activity = { lastBotActivity } /> }
3636 </ div >
3737 )
You can’t perform that action at this time.
0 commit comments