diff options
author | Eric Bailey <git@esb.lol> | 2024-08-08 12:14:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-08 18:14:15 +0100 |
commit | a0756c53be7991de1b2bd0c536c25e0d5995c992 (patch) | |
tree | 276c7a42fab95ecc0dfa7db125b2a67d3feb21d7 /src/view/com/posts/AviFollowButton.tsx | |
parent | 3ea8eb60134c9e7b48290f5ccc9e0c87ff779e23 (diff) | |
download | voidsky-a0756c53be7991de1b2bd0c536c25e0d5995c992.tar.zst |
Remove show_avi_follow_button (#4900)
Diffstat (limited to 'src/view/com/posts/AviFollowButton.tsx')
-rw-r--r-- | src/view/com/posts/AviFollowButton.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/view/com/posts/AviFollowButton.tsx b/src/view/com/posts/AviFollowButton.tsx index f7141ee42..00428cbe6 100644 --- a/src/view/com/posts/AviFollowButton.tsx +++ b/src/view/com/posts/AviFollowButton.tsx @@ -7,7 +7,6 @@ import {useNavigation} from '@react-navigation/native' import {createHitslop} from '#/lib/constants' import {NavigationProp} from '#/lib/routes/types' -import {useGate} from '#/lib/statsig/statsig' import {sanitizeDisplayName} from '#/lib/strings/display-names' import {useProfileShadow} from '#/state/cache/profile-shadow' import {useSession} from '#/state/session' @@ -37,7 +36,6 @@ export function AviFollowButton({ profile: profile, logContext: 'AvatarButton', }) - const gate = useGate() const {currentAccount, hasSession} = useSession() const navigation = useNavigation<NavigationProp>() @@ -80,7 +78,7 @@ export function AviFollowButton({ }, ] - return hasSession && gate('show_avi_follow_button') ? ( + return hasSession ? ( <View style={a.relative}> {children} |