From 51d06f9967d9ff94458d27973531f64e3eaa9f5d Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Fri, 5 Dec 2025 09:12:59 -0600 Subject: [PATCH] More conventional pattern --- src/components/FeedInterstitials.tsx | 11 ++++---- src/components/ProgressGuide/FollowDialog.tsx | 26 ++++++++++--------- 2 files changed, 20 insertions(+), 17 deletions(-) diff --git a/src/components/FeedInterstitials.tsx b/src/components/FeedInterstitials.tsx index af8f581f4b..987d9242f8 100644 --- a/src/components/FeedInterstitials.tsx +++ b/src/components/FeedInterstitials.tsx @@ -26,6 +26,7 @@ import { web, } from '#/alf' import {Button, ButtonIcon, ButtonText} from '#/components/Button' +import {useDialogControl} from '#/components/Dialog' import * as FeedCard from '#/components/FeedCard' import {ArrowRight_Stroke2_Corner0_Rounded as ArrowRight} from '#/components/icons/Arrow' import {Hashtag_Stroke2_Corner0_Rounded as Hashtag} from '#/components/icons/Hashtag' @@ -33,7 +34,7 @@ import {InlineLinkText} from '#/components/Link' import * as ProfileCard from '#/components/ProfileCard' import {Text} from '#/components/Typography' import type * as bsky from '#/types/bsky' -import {useFollowDialogControl} from './ProgressGuide/FollowDialog' +import {FollowDialogWithoutGuide} from './ProgressGuide/FollowDialog' import {ProgressGuideList} from './ProgressGuide/List' const MOBILE_CARD_WIDTH = 165 @@ -251,7 +252,7 @@ export function ProfileGrid({ const {_} = useLingui() const moderationOpts = useModerationOpts() const {gtMobile} = useBreakpoints() - const followDialog = useFollowDialogControl() + const followDialogControl = useDialogControl() const isLoading = isSuggestionsLoading || !moderationOpts const isProfileHeaderContext = viewContext === 'profileHeader' @@ -393,7 +394,7 @@ export function ProfileGrid({