From 11227f07d2783809495c88915c1fa52283e2fe17 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 2 Jan 2025 15:03:45 -0600 Subject: [PATCH] Replace isRecord with isValidRecord in PostThreadItem --- src/view/com/post-thread/PostThreadItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view/com/post-thread/PostThreadItem.tsx b/src/view/com/post-thread/PostThreadItem.tsx index f04b9e225a..c68421b634 100644 --- a/src/view/com/post-thread/PostThreadItem.tsx +++ b/src/view/com/post-thread/PostThreadItem.tsx @@ -785,7 +785,7 @@ function BackdatedPostIndicator({post}: {post: AppBskyFeedDefs.PostView}) { const control = Prompt.usePromptControl() const indexedAt = new Date(post.indexedAt) - const createdAt = AppBskyFeedPost.isRecord(post.record) + const createdAt = AppBskyFeedPost.isValidRecord(post.record) ? new Date(post.record.createdAt) : new Date(post.indexedAt)