Replace isRecord with isValidRecord in PostThreadItem

This commit is contained in:
Eric Bailey
2025-01-02 15:03:45 -06:00
parent 87ce8bdcd4
commit 11227f07d2
+1 -1
View File
@@ -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)