Skip to content

Commit c4ff652

Browse files
committed
Fixes #550, #541
1 parent 5139f9e commit c4ff652

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/ChannelList/hooks/usePaginatedChannels.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useEffect, useState } from 'react';
44
import { MAX_QUERY_CHANNELS_LIMIT } from '../utils';
55
/**
66
* @typedef {import('stream-chat').Channel} Channel
7-
* @param {import('stream-chat').StreamChat} client
7+
* @param {import('types').StreamChatReactClient} client
88
* @param {import('stream-chat').ChannelFilters} filters
99
* @param {import('stream-chat').ChannelSort} [sort]
1010
* @param {import('stream-chat').ChannelOptions} [options]

src/components/ChannelList/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const moveChannelUp = (cid, channels) => {
2222
};
2323

2424
/**
25-
* @param {import('stream-chat').StreamChat} client
25+
* @param {import('types').StreamChatReactClient} client
2626
* @param {string} type
2727
* @param {string} id
2828
*/

0 commit comments

Comments
 (0)