Remove explore_page_profile_card_social_proof (#4894)
parent
f3a9f874d9
commit
e1df2b0b16
|
@ -1,7 +1,6 @@
|
|||
export type Gate =
|
||||
// Keep this alphabetic please.
|
||||
| 'debug_show_feedcontext'
|
||||
| 'explore_page_profile_card_social_proof'
|
||||
| 'native_pwi_disabled'
|
||||
| 'new_user_guided_tour'
|
||||
| 'new_user_progress_guide'
|
||||
|
|
|
@ -10,7 +10,6 @@ import {
|
|||
import {msg, Trans} from '@lingui/macro'
|
||||
import {useLingui} from '@lingui/react'
|
||||
|
||||
import {useGate} from '#/lib/statsig/statsig'
|
||||
import {logger} from '#/logger'
|
||||
import {isWeb} from '#/platform/detection'
|
||||
import {useModerationOpts} from '#/state/preferences/moderation-opts'
|
||||
|
@ -293,7 +292,6 @@ export function Explore() {
|
|||
error: feedsError,
|
||||
fetchNextPage: fetchNextFeedsPage,
|
||||
} = useGetPopularFeedsQuery({limit: 10})
|
||||
const gate = useGate()
|
||||
|
||||
const isLoadingMoreProfiles = isFetchingNextProfilesPage && !isLoadingProfiles
|
||||
const onLoadMoreProfiles = React.useCallback(async () => {
|
||||
|
@ -499,9 +497,7 @@ export function Explore() {
|
|||
profile={item.profile}
|
||||
noBg
|
||||
noBorder
|
||||
showKnownFollowers={gate(
|
||||
'explore_page_profile_card_social_proof',
|
||||
)}
|
||||
showKnownFollowers
|
||||
/>
|
||||
</View>
|
||||
)
|
||||
|
@ -565,7 +561,7 @@ export function Explore() {
|
|||
}
|
||||
}
|
||||
},
|
||||
[t, moderationOpts, gate],
|
||||
[t, moderationOpts],
|
||||
)
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in New Issue