From dbe1925a963c6e14174bdd27093db486b41bc639 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 8 Jan 2026 15:57:06 -0600 Subject: [PATCH] Fix types --- src/components/ProfileHoverCard/index.web.tsx | 1 + src/components/live/LiveStatusDialog.tsx | 19 ++++++++++++++----- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/components/ProfileHoverCard/index.web.tsx b/src/components/ProfileHoverCard/index.web.tsx index 58b30358c9..2f8e3105cc 100644 --- a/src/components/ProfileHoverCard/index.web.tsx +++ b/src/components/ProfileHoverCard/index.web.tsx @@ -389,6 +389,7 @@ let Card = ({ {data && moderationOpts ? ( status.isActive ? ( - + ) } @@ -50,10 +56,12 @@ function DialogInner({ profile, embed, navigation, + status, }: { profile: bsky.profile.AnyProfileView embed: AppBskyEmbedExternal.View navigation: NavigationProp + status: AppBskyActorDefs.StatusView }) { const {_} = useLingui() const control = Dialog.useDialogContext() @@ -72,6 +80,7 @@ function DialogInner({ contentContainerStyle={[a.pt_0, a.px_0]} style={[web({maxWidth: 420}), a.overflow_hidden]}> @@ -225,15 +235,14 @@ export function LiveStatus({ Live feature is in beta - {hasLiveStatus && ( + {status && ( { function open() { - if (!hasLiveStatus) return // already checked above reportDialogControl.open({ subject: { - ...profile.status, + ...status, $type: 'app.bsky.actor.defs#statusView', }, })