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