Move posts feed to root store (me) and ensure new posts always update the feed
This commit is contained in:
parent
ebfa6e5581
commit
345ec83f26
3 changed files with 27 additions and 31 deletions
|
@ -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`)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue