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 44c4cba commit c1a78d2Copy full SHA for c1a78d2
package/src/components/ChannelList/hooks/usePaginatedChannels.ts
@@ -296,10 +296,7 @@ export const usePaginatedChannels = <
296
// ? true
297
// : (activeQueryType.current === 'reload' || activeQueryType.current === null) &&
298
// channels === null,
299
- loadingChannels:
300
- activeQueryType.current === 'queryLocalDB' || !channelManager
301
- ? true
302
- : pagination?.isLoading || channels == null,
+ loadingChannels: activeQueryType.current === 'queryLocalDB' ? true : pagination?.isLoading,
303
loadingNextPage: pagination?.isLoadingNext,
304
loadNextPage: channelManager?.loadNext,
305
refreshing: activeQueryType.current === 'refresh',
0 commit comments