Remove ability for Post component to load from URI (close #1302) (#1317)

This commit is contained in:
Paul Frazee
2023-08-28 17:08:21 -07:00
committed by GitHub
parent c77fd588e9
commit e2f0770b88
3 changed files with 7 additions and 33 deletions
+2 -3
View File
@@ -122,7 +122,7 @@ export const FeedItem = observer(function ({
}
if (item.isReply || item.isMention || item.isQuote) {
if (item.additionalPost?.error) {
if (!item.additionalPost || item.additionalPost?.error) {
// hide errors - it doesnt help the user to show them
return <View />
}
@@ -134,8 +134,7 @@ export const FeedItem = observer(function ({
noFeedback
accessible={false}>
<Post
uri={item.uri}
initView={item.additionalPost}
view={item.additionalPost}
style={
item.isRead
? undefined