Skip to content

Commit f4e2f31

Browse files
author
Sravan S
authored
hot-fix: pass dispatcher to channel pubSubHandler (#365)
1 parent d3a0122 commit f4e2f31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/smart-components/Channel/context/ChannelProvider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ const ChannelProvider: React.FC<ChannelContextProps> = (props: ChannelContextPro
330330
const subscriber = utils.pubSubHandler({
331331
channelUrl,
332332
pubSub,
333-
messagesDispatcher,
333+
dispatcher: messagesDispatcher,
334334
scrollRef,
335335
});
336336
return () => {

0 commit comments

Comments
 (0)