Skip to content

Commit

Permalink
fix: prevent ChannelPreviews with duplicate keys
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinCupela committed Aug 8, 2024
1 parent 81f33ba commit 1a075ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ChannelList/ChannelList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ const UnMemoizedChannelList = <
channel: item,
// forces the update of preview component on channel update
channelUpdateCount,
key: item.id,
key: item.cid,
Preview,
setActiveChannel,
watchers,
Expand Down

0 comments on commit 1a075ad

Please sign in to comment.