Update the view after a post is created

This commit is contained in:
Paul Frazee
2022-10-04 11:33:32 -05:00
parent 01515de17d
commit 94f365f564
9 changed files with 79 additions and 9 deletions
+5 -1
View File
@@ -70,7 +70,11 @@ export const PostThread = observer(function PostThread({uri}: {uri: string}) {
// =
const posts = view.thread ? Array.from(flattenThread(view.thread)) : []
const renderItem = ({item}: {item: PostThreadViewPostModel}) => (
<PostThreadItem item={item} onPressShare={onPressShare} />
<PostThreadItem
item={item}
onPressShare={onPressShare}
onPostReply={onRefresh}
/>
)
return (
<FlatList