mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove explore_page_profile_card_social_proof (#4894)

authored by

Eric Bailey and committed by
GitHub
e1df2b0b f3a9f874

+2 -7
-1
src/lib/statsig/gates.ts
··· 1 1 export type Gate = 2 2 // Keep this alphabetic please. 3 3 | 'debug_show_feedcontext' 4 - | 'explore_page_profile_card_social_proof' 5 4 | 'native_pwi_disabled' 6 5 | 'new_user_guided_tour' 7 6 | 'new_user_progress_guide'
+2 -6
src/view/screens/Search/Explore.tsx
··· 10 10 import {msg, Trans} from '@lingui/macro' 11 11 import {useLingui} from '@lingui/react' 12 12 13 - import {useGate} from '#/lib/statsig/statsig' 14 13 import {logger} from '#/logger' 15 14 import {isWeb} from '#/platform/detection' 16 15 import {useModerationOpts} from '#/state/preferences/moderation-opts' ··· 293 292 error: feedsError, 294 293 fetchNextPage: fetchNextFeedsPage, 295 294 } = useGetPopularFeedsQuery({limit: 10}) 296 - const gate = useGate() 297 295 298 296 const isLoadingMoreProfiles = isFetchingNextProfilesPage && !isLoadingProfiles 299 297 const onLoadMoreProfiles = React.useCallback(async () => { ··· 499 497 profile={item.profile} 500 498 noBg 501 499 noBorder 502 - showKnownFollowers={gate( 503 - 'explore_page_profile_card_social_proof', 504 - )} 500 + showKnownFollowers 505 501 /> 506 502 </View> 507 503 ) ··· 565 561 } 566 562 } 567 563 }, 568 - [t, moderationOpts, gate], 564 + [t, moderationOpts], 569 565 ) 570 566 571 567 return (