Lower limit
This commit is contained in:
@@ -223,7 +223,7 @@ function ExploreScreen() {
|
|||||||
isFetchingNextPage: isFetchingNextProfilesPage,
|
isFetchingNextPage: isFetchingNextProfilesPage,
|
||||||
error: profilesError,
|
error: profilesError,
|
||||||
fetchNextPage: fetchNextProfilesPage,
|
fetchNextPage: fetchNextProfilesPage,
|
||||||
} = useSuggestedFollowsQuery({limit: 5})
|
} = useSuggestedFollowsQuery({limit: 4})
|
||||||
const {
|
const {
|
||||||
data: feeds,
|
data: feeds,
|
||||||
hasNextPage: hasNextFeedsPage,
|
hasNextPage: hasNextFeedsPage,
|
||||||
@@ -231,7 +231,7 @@ function ExploreScreen() {
|
|||||||
isFetchingNextPage: isFetchingNextFeedsPage,
|
isFetchingNextPage: isFetchingNextFeedsPage,
|
||||||
error: feedsError,
|
error: feedsError,
|
||||||
fetchNextPage: fetchNextFeedsPage,
|
fetchNextPage: fetchNextFeedsPage,
|
||||||
} = useGetPopularFeedsQuery({limit: 5})
|
} = useGetPopularFeedsQuery({limit: 4})
|
||||||
|
|
||||||
const isLoadingMoreProfiles = isFetchingNextProfilesPage && !isLoadingProfiles
|
const isLoadingMoreProfiles = isFetchingNextProfilesPage && !isLoadingProfiles
|
||||||
const onLoadMoreProfiles = React.useCallback(async () => {
|
const onLoadMoreProfiles = React.useCallback(async () => {
|
||||||
@@ -437,7 +437,7 @@ function ExploreScreen() {
|
|||||||
}
|
}
|
||||||
case 'loadMore': {
|
case 'loadMore': {
|
||||||
return (
|
return (
|
||||||
<View style={[a.pb_2xl, a.border_t, t.atoms.border_contrast_low]}>
|
<View style={[a.border_t, t.atoms.border_contrast_low]}>
|
||||||
<Button
|
<Button
|
||||||
label={_(msg`Load more`)}
|
label={_(msg`Load more`)}
|
||||||
onPress={item.onLoadMore}
|
onPress={item.onLoadMore}
|
||||||
|
|||||||
Reference in New Issue
Block a user