From e136e8e1b663f40018e6dc772628fc9c3ed827bd Mon Sep 17 00:00:00 2001 From: w33b Date: Sat, 10 Jan 2026 15:45:41 +0100 Subject: [PATCH] Refresh on delete --- app/Livewire/Comment.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Livewire/Comment.php b/app/Livewire/Comment.php index 65d823f..cdda05c 100644 --- a/app/Livewire/Comment.php +++ b/app/Livewire/Comment.php @@ -56,6 +56,8 @@ class Comment extends Component $this->authorize('destroy', $this->comment); $this->comment->delete(); + + $this->dispatch('refresh'); } public function postReply()