Skip to content

Commit 7bafd0d

Browse files
committed
fix: rename ready -> initialized
1 parent 49db5fb commit 7bafd0d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package/src/components/ChannelList/hooks/usePaginatedChannels.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ const selector = <StreamChatGenerics extends DefaultStreamChatGenerics = Default
5151
({
5252
channels: nextValue.channels,
5353
pagination: nextValue.pagination,
54-
ready: nextValue.ready,
54+
// TODO: rename this properly everywhere
55+
ready: nextValue.initialized,
5556
} as const);
5657

5758
export const usePaginatedChannels = <

0 commit comments

Comments
 (0)