about summary refs log tree commit diff
path: root/src/view/com/post/Post.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-10-04 11:33:32 -0500
committerPaul Frazee <pfrazee@gmail.com>2022-10-04 11:33:32 -0500
commit236c9080587ad9e63fa3330d2567640ea2f64fb4 (patch)
treea40bc4b31ab5594b8b07ebcf7b1e69c93842a6a5 /src/view/com/post/Post.tsx
parent0aaa406b179e366e6a527f052379184787440b42 (diff)
downloadvoidsky-236c9080587ad9e63fa3330d2567640ea2f64fb4.tar.zst
Update the view after a post is created
Diffstat (limited to 'src/view/com/post/Post.tsx')
-rw-r--r--src/view/com/post/Post.tsx2
1 files changed, 1 insertions, 1 deletions
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