File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
examples/TypeScriptMessaging
package/src/components/ChannelList/hooks Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,6 @@ const ChannelListScreen: React.FC<ChannelListScreenProps> = ({ navigation }) =>
160160 < ChannelList < StreamChatGenerics >
161161 PreviewStatus = { CustomChannelPreviewStatus }
162162 filters = { memoizedFilters }
163- lockChannelOrder
164163 onSelect = { ( channel ) => {
165164 setChannel ( channel ) ;
166165 navigation . navigate ( 'Channel' ) ;
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export const useChannelMembershipState = <
2828 ) ;
2929
3030 return ( ) => subscriptions . forEach ( ( subscription ) => subscription . unsubscribe ( ) ) ;
31- } , [ channel , client ] ) ;
31+ } , [ channel ?. state . membership , client ] ) ;
3232
3333 return membership ;
3434} ;
You can’t perform that action at this time.
0 commit comments