···21import {findAllProfilesInQueryData as findAllProfilesInPostLikedByQueryData} from '#/state/queries/post-liked-by'
22import {findAllProfilesInQueryData as findAllProfilesInPostQuotesQueryData} from '#/state/queries/post-quotes'
23import {findAllProfilesInQueryData as findAllProfilesInPostRepostedByQueryData} from '#/state/queries/post-reposted-by'
24-import {findAllProfilesInQueryData as findAllProfilesInProfileQueryData} from '#/state/queries/profile'
00025import {findAllProfilesInQueryData as findAllProfilesInProfileFollowersQueryData} from '#/state/queries/profile-followers'
26import {findAllProfilesInQueryData as findAllProfilesInProfileFollowsQueryData} from '#/state/queries/profile-follows'
27import {findAllProfilesInQueryData as findAllProfilesInSuggestedFollowsQueryData} from '#/state/queries/suggested-follows'
···49const emitter = new EventEmitter()
5051export function useProfileShadow<
52- TProfileView extends bsky.profile.AnyProfileView,
0053>(profile: TProfileView): Shadow<TProfileView> {
54 const [shadow, setShadow] = useState(() => shadows.get(profile))
55 const [prevPost, setPrevPost] = useState(profile)
···21import {findAllProfilesInQueryData as findAllProfilesInPostLikedByQueryData} from '#/state/queries/post-liked-by'
22import {findAllProfilesInQueryData as findAllProfilesInPostQuotesQueryData} from '#/state/queries/post-quotes'
23import {findAllProfilesInQueryData as findAllProfilesInPostRepostedByQueryData} from '#/state/queries/post-reposted-by'
24+import {
25+ findAllProfilesInQueryData as findAllProfilesInProfileQueryData,
26+ type TealActorStatus,
27+} from '#/state/queries/profile'
28import {findAllProfilesInQueryData as findAllProfilesInProfileFollowersQueryData} from '#/state/queries/profile-followers'
29import {findAllProfilesInQueryData as findAllProfilesInProfileFollowsQueryData} from '#/state/queries/profile-follows'
30import {findAllProfilesInQueryData as findAllProfilesInSuggestedFollowsQueryData} from '#/state/queries/suggested-follows'
···52const emitter = new EventEmitter()
5354export function useProfileShadow<
55+ TProfileView extends bsky.profile.AnyProfileView & {
56+ tealStatus: TealActorStatus | undefined
57+ },
58>(profile: TProfileView): Shadow<TProfileView> {
59 const [shadow, setShadow] = useState(() => shadows.get(profile))
60 const [prevPost, setPrevPost] = useState(profile)