We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6e654b commit 649d31eCopy full SHA for 649d31e
src/components/ChannelList/ChannelList.tsx
@@ -358,13 +358,12 @@ const UnMemoizedChannelList = (props: ChannelListProps) => {
358
// forces the update of preview component on channel update
359
channelUpdateCount,
360
getLatestMessagePreview,
361
- key: item.cid,
362
Preview,
363
setActiveChannel,
364
watchers,
365
};
366
367
- return <ChannelPreview {...previewProps} />;
+ return <ChannelPreview key={item.cid} {...previewProps} />;
368
369
370
const baseClass = 'str-chat__channel-list';
0 commit comments