Clean up the custom-feed model

This commit is contained in:
Paul Frazee 2023-05-17 14:55:04 -05:00
parent 9c02fbb925
commit 2fd3b4ca04
5 changed files with 48 additions and 92 deletions

View file

@ -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)}