Skip to content

Commit

Permalink
hot-fix: pass dispatcher to channel pubSubHandler (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sravan S authored Nov 15, 2022
1 parent d3a0122 commit f4e2f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/smart-components/Channel/context/ChannelProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ const ChannelProvider: React.FC<ChannelContextProps> = (props: ChannelContextPro
const subscriber = utils.pubSubHandler({
channelUrl,
pubSub,
messagesDispatcher,
dispatcher: messagesDispatcher,
scrollRef,
});
return () => {
Expand Down

0 comments on commit f4e2f31

Please sign in to comment.