From 0b165024b77ca557abe069ce37b52c1725644b2b Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Wed, 17 Dec 2025 14:27:37 -0600 Subject: [PATCH] Reverse gate check, best practice --- src/components/FeedInterstitials.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/FeedInterstitials.tsx b/src/components/FeedInterstitials.tsx index 734cc1cd00..6431c46e41 100644 --- a/src/components/FeedInterstitials.tsx +++ b/src/components/FeedInterstitials.tsx @@ -436,7 +436,7 @@ export function ProfileGrid({ const isLoading = isSuggestionsLoading || !moderationOpts const isProfileHeaderContext = viewContext === 'profileHeader' const isFeedContext = viewContext === 'feed' - const showDismissButton = gate('suggested_users_dismiss') && onDismiss + const showDismissButton = onDismiss && gate('suggested_users_dismiss') const maxLength = gtMobile ? 3 : isProfileHeaderContext ? 12 : 6 const minLength = gtMobile ? 3 : 4