We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23a1cad commit 3383323Copy full SHA for 3383323
src/contexts/paginatedMessageListContext/PaginatedMessageListContext.tsx
@@ -39,11 +39,11 @@ export type PaginatedMessageListContextValue<
39
/**
40
* Load more messages
41
*/
42
- loadMore: (limit: number) => Promise<void>;
+ loadMore: (limit?: number) => Promise<void>;
43
44
* Load more recent messages
45
46
- loadMoreRecent: (limit: number) => Promise<void>;
+ loadMoreRecent: (limit?: number) => Promise<void>;
47
48
* Messages from client state
49
0 commit comments