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 a15126f commit cb7d71aCopy full SHA for cb7d71a
package/src/components/ChannelList/hooks/usePaginatedChannels.ts
@@ -282,7 +282,7 @@ export const usePaginatedChannels = ({
282
// ready. I do not like providing a way to set the ready state, as it should be managed
283
// in the LLC entirely. Once we move offline support to the LLC, we can remove this check
284
// too as it'll be redundant.
285
- pagination?.isLoading || (!channelListInitialized && channels.length === 0),
+ pagination?.isLoading || (!channelListInitialized && channels.length === 0 && !error),
286
loadingNextPage: pagination?.isLoadingNext,
287
loadNextPage: channelManager.loadNext,
288
refreshing: activeQueryType === 'refresh',
0 commit comments