From 1dbeff98526666518d8d2aeeb05523760c055e1f Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 2 Jan 2025 16:08:04 -0600 Subject: [PATCH] Todo --- src/view/com/notifications/NotificationFeedItem.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/view/com/notifications/NotificationFeedItem.tsx b/src/view/com/notifications/NotificationFeedItem.tsx index f43d617379..a8ac4019dc 100644 --- a/src/view/com/notifications/NotificationFeedItem.tsx +++ b/src/view/com/notifications/NotificationFeedItem.tsx @@ -120,6 +120,11 @@ let NotificationFeedItem = ({ } const onBeforePress = React.useCallback(() => { + /* + * 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) }, [queryClient, item.notification.author])