From 98e7d7401bae238b17bf23c3270ba2c0274f1f1b Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Wed, 5 Feb 2025 11:17:35 -0600 Subject: [PATCH] Use new AnyProfileView --- src/state/cache/profile-shadow.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/state/cache/profile-shadow.ts b/src/state/cache/profile-shadow.ts index 2609f8bea7..1ce70045e8 100644 --- a/src/state/cache/profile-shadow.ts +++ b/src/state/cache/profile-shadow.ts @@ -69,7 +69,7 @@ export function useProfileShadow< * This is useful for when the profile is not guaranteed to be loaded yet. */ export function useMaybeProfileShadow< - TProfileView extends AppBskyActorDefs.ProfileView, + TProfileView extends atp.profile.AnyProfileView, >(profile?: TProfileView): Shadow | undefined { const [shadow, setShadow] = useState(() => profile ? shadows.get(profile) : undefined,