From 345ec83f26e209929ca86b3885227e8508fb2cb8 Mon Sep 17 00:00:00 2001
From: Paul Frazee <pfrazee@gmail.com>
Date: Tue, 13 Dec 2022 15:52:18 -0600
Subject: Move posts feed to root store (me) and ensure new posts always update
 the feed

---
 src/view/com/composer/ComposePost.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/view/com/composer/ComposePost.tsx')

diff --git a/src/view/com/composer/ComposePost.tsx b/src/view/com/composer/ComposePost.tsx
index fb21b9f9d..7f4de654c 100644
--- a/src/view/com/composer/ComposePost.tsx
+++ b/src/view/com/composer/ComposePost.tsx
@@ -121,6 +121,7 @@ export const ComposePost = observer(function ComposePost({
       setIsProcessing(false)
       return
     }
+    store.me.mainFeed.loadLatest()
     onPost?.()
     onClose()
     Toast.show(`Your ${replyTo ? 'reply' : 'post'} has been published`)
-- 
cgit 1.4.1

