Skip to content

Commit 260fa6c

Browse files
committed
fix: changed default limit in useGroupChannelListWithCollection hook
1 parent cf39461 commit 260fa6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/uikit-chat-hooks/src/channel/useGroupChannelList/useGroupChannelListWithCollection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const createGroupChannelListCollection = (
1919

2020
const defaultOptions = {
2121
includeEmpty: false,
22-
limit: 5,
22+
limit: 20,
2323
order: sdk.GroupChannelCollection.GroupChannelOrder.LATEST_LAST_MESSAGE,
2424
};
2525
const collectionBuilder = sdk.GroupChannel.createGroupChannelCollection();

0 commit comments

Comments
 (0)