From f4e2f3172cba62031ba5145904c5815c8eaec2c6 Mon Sep 17 00:00:00 2001 From: Sravan S Date: Mon, 14 Nov 2022 22:12:31 -0300 Subject: [PATCH] hot-fix: pass dispatcher to channel pubSubHandler (#365) --- src/smart-components/Channel/context/ChannelProvider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smart-components/Channel/context/ChannelProvider.tsx b/src/smart-components/Channel/context/ChannelProvider.tsx index 57cc64dec..0cd626aea 100644 --- a/src/smart-components/Channel/context/ChannelProvider.tsx +++ b/src/smart-components/Channel/context/ChannelProvider.tsx @@ -330,7 +330,7 @@ const ChannelProvider: React.FC = (props: ChannelContextPro const subscriber = utils.pubSubHandler({ channelUrl, pubSub, - messagesDispatcher, + dispatcher: messagesDispatcher, scrollRef, }); return () => {