diff --git a/src/Actions/DeleteAction.php b/src/Actions/DeleteAction.php index 05c80a8..bf4f13f 100644 --- a/src/Actions/DeleteAction.php +++ b/src/Actions/DeleteAction.php @@ -20,7 +20,10 @@ protected function setUp(): void ); $this->after( - fn (FullCalendarWidget $livewire) => $livewire->refreshRecords() + function (FullCalendarWidget $livewire) { + $livewire->record = null; + $livewire->refreshRecords(); + } ); $this->cancelParentActions();