Update the view after a post is created

This commit is contained in:
Paul Frazee 2022-10-04 11:33:32 -05:00
parent 0aaa406b17
commit 236c908058
9 changed files with 79 additions and 9 deletions

View file

@ -72,7 +72,7 @@ export const Post = observer(function Post({uri}: {uri: string}) {
replyHref = `/profile/${urip.hostname}/post/${urip.recordKey}`
}
const onPressReply = () => {
store.shell.openModal(new ComposePostModel(item.uri))
store.shell.openModal(new ComposePostModel({replyTo: item.uri}))
}
const onPressToggleRepost = () => {
item