Skip to content

Commit

Permalink
Fix error when deleting
Browse files Browse the repository at this point in the history
  • Loading branch information
chickgit committed Oct 5, 2023
1 parent 90a3ada commit 5c66b5f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Actions/DeleteAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 5c66b5f

Please sign in to comment.