Clean up the custom-feed model
This commit is contained in:
parent
9c02fbb925
commit
2fd3b4ca04
5 changed files with 48 additions and 92 deletions
|
@ -188,7 +188,7 @@ export function UserAvatar({
|
|||
accessibilityRole="image"
|
||||
/>
|
||||
) : (
|
||||
<DefaultAvatar size={size} />
|
||||
<DefaultAvatar type={type} size={size} />
|
||||
)}
|
||||
<View style={[styles.editButtonContainer, pal.btn]}>
|
||||
<FontAwesomeIcon
|
||||
|
|
|
@ -170,6 +170,7 @@ export function PostEmbeds({
|
|||
AppBskyEmbedRecord.isView(embed) &&
|
||||
AppBskyFeedDefs.isGeneratorView(embed.record)
|
||||
) {
|
||||
// TODO memoize this?
|
||||
return (
|
||||
<CustomFeed
|
||||
item={new CustomFeedModel(store, embed.record)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue