Skip to content

Commit

Permalink
Remove explore_page_profile_card_social_proof (#4894)
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey authored Aug 8, 2024
1 parent f3a9f87 commit e1df2b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/lib/statsig/gates.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
8 changes: 2 additions & 6 deletions src/view/screens/Search/Explore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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 () => {
Expand Down Expand Up @@ -499,9 +497,7 @@ export function Explore() {
profile={item.profile}
noBg
noBorder
showKnownFollowers={gate(
'explore_page_profile_card_social_proof',
)}
showKnownFollowers
/>
</View>
)
Expand Down Expand Up @@ -565,7 +561,7 @@ export function Explore() {
}
}
},
[t, moderationOpts, gate],
[t, moderationOpts],
)

return (
Expand Down

0 comments on commit e1df2b0

Please sign in to comment.