Skip to content

Commit b13bea1

Browse files
committed
fix: duplicate channels on many notification events
1 parent 1cdc48e commit b13bea1

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

package/src/components/ChannelList/hooks/listeners/useChannelVisible.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ export const useChannelVisible = <
4848
? moveChannelUp({
4949
channels,
5050
channelToMove: channel,
51-
channelToMoveIndexWithinChannels: -1,
5251
sort,
5352
})
5453
: channels,

package/src/components/ChannelList/hooks/listeners/useNewMessageNotification.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ export const useNewMessageNotification = <
5656
? moveChannelUp({
5757
channels,
5858
channelToMove: channel,
59-
channelToMoveIndexWithinChannels: -1,
6059
sort,
6160
})
6261
: channels,

0 commit comments

Comments
 (0)