From 2c782d72ece35e4af59386c16e28b0d8aaea389c Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 2 Jan 2025 16:12:55 -0600 Subject: [PATCH] Use isValidRecord in NotfyFeedItem --- src/view/com/notifications/NotificationFeedItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view/com/notifications/NotificationFeedItem.tsx b/src/view/com/notifications/NotificationFeedItem.tsx index a8ac4019dc..15ec96816d 100644 --- a/src/view/com/notifications/NotificationFeedItem.tsx +++ b/src/view/com/notifications/NotificationFeedItem.tsx @@ -721,7 +721,7 @@ function ExpandedAuthorsList({ function AdditionalPostText({post}: {post?: AppBskyFeedDefs.PostView}) { const pal = usePalette('default') - if (post && AppBskyFeedPost.isRecord(post?.record)) { + if (post && AppBskyFeedPost.isValidRecord(post?.record)) { const text = post.record.text return (