From 20dba18e8eb7f38aec5c2baa82afc79d25474313 Mon Sep 17 00:00:00 2001 From: ilyapashayan Date: Mon, 30 Mar 2026 18:48:11 +0400 Subject: [PATCH] fix: show reply instantly after adding without page refresh --- src/Livewire/CommentItem.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Livewire/CommentItem.php b/src/Livewire/CommentItem.php index ead7671..c4aed95 100644 --- a/src/Livewire/CommentItem.php +++ b/src/Livewire/CommentItem.php @@ -180,6 +180,8 @@ class CommentItem extends Component implements HasForms app(MentionParser::class)->syncMentions($reply); + $this->comment->load(['replies.commenter', 'replies.mentions', 'replies.attachments', 'replies.reactions.commenter']); + $this->dispatch('commentUpdated'); $this->isReplying = false;