From 236c9080587ad9e63fa3330d2567640ea2f64fb4 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Tue, 4 Oct 2022 11:33:32 -0500 Subject: Update the view after a post is created --- src/view/com/post/Post.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/view/com/post/Post.tsx') diff --git a/src/view/com/post/Post.tsx b/src/view/com/post/Post.tsx index 4cd35659f..752a054b4 100644 --- a/src/view/com/post/Post.tsx +++ b/src/view/com/post/Post.tsx @@ -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 -- cgit 1.4.1