diff --git a/src/view/com/notifications/NotificationFeedItem.tsx b/src/view/com/notifications/NotificationFeedItem.tsx index 2a6ad135e4..938f9975a7 100644 --- a/src/view/com/notifications/NotificationFeedItem.tsx +++ b/src/view/com/notifications/NotificationFeedItem.tsx @@ -58,6 +58,7 @@ import * as MediaPreview from '#/components/MediaPreview' import {ProfileHoverCard} from '#/components/ProfileHoverCard' import {Notification as StarterPackCard} from '#/components/StarterPack/StarterPackCard' import {SubtleWebHover} from '#/components/SubtleWebHover' +import * as atp from '#/types/atproto' import {FeedSourceCard} from '../feeds/FeedSourceCard' import {Post} from '../post/Post' import {Link, TextLink} from '../util/Link' @@ -124,8 +125,10 @@ let NotificationFeedItem = ({ * Notification returns ProfileView, which has one additional field on top * of `Basic`: `indexedAt`. Harmless for now, but should be fixed. */ - // @ts-expect-error TODO - precacheProfile(queryClient, item.notification.author) + precacheProfile( + queryClient, + atp.profile.anyToBasic(item.notification.author), + ) }, [queryClient, item.notification.author]) const authors: Author[] = useMemo(() => {