From e1df2b0b160c32ef2d62eef067808b1ff8c25e51 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 8 Aug 2024 11:48:32 -0500 Subject: [PATCH] Remove explore_page_profile_card_social_proof (#4894) --- src/lib/statsig/gates.ts | 1 - src/view/screens/Search/Explore.tsx | 8 ++------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/lib/statsig/gates.ts b/src/lib/statsig/gates.ts index 7cdf7551..f0dd0818 100644 --- a/src/lib/statsig/gates.ts +++ b/src/lib/statsig/gates.ts @@ -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' diff --git a/src/view/screens/Search/Explore.tsx b/src/view/screens/Search/Explore.tsx index 5510fbee..a36c4044 100644 --- a/src/view/screens/Search/Explore.tsx +++ b/src/view/screens/Search/Explore.tsx @@ -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 /> ) @@ -565,7 +561,7 @@ export function Explore() { } } }, - [t, moderationOpts, gate], + [t, moderationOpts], ) return (