File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,7 +100,6 @@ import useStyleOptions from './useStyleOptions';
100100import ErrorBoundary from './utils/ErrorBoundary' ;
101101import observableToPromise from './utils/observableToPromise' ;
102102import { parseUIState } from './validation/uiState' ;
103- import type { ActivityMiddleware } from '../../dist/botframework-webchat-api.mjs' ;
104103
105104// List of Redux actions factory we are hoisting as Web Chat functions
106105const DISPATCHERS = {
@@ -528,7 +527,7 @@ const ComposerCore = ({
528527 [ scrollToEndButtonMiddleware ]
529528 ) ;
530529
531- const activityMiddleware = useMemoIterable < readonly ActivityMiddleware [ ] > (
530+ const activityMiddleware = useMemoIterable < readonly LegacyActivityMiddleware [ ] > (
532531 ( ) => singleToArray ( activityMiddlewareFromProps ?? [ ] ) ,
533532 [ activityMiddlewareFromProps ]
534533 ) ;
You can’t perform that action at this time.
0 commit comments