Skip to content

Commit

Permalink
chage emit to dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
John Wesely committed Jun 5, 2024
1 parent d1170e3 commit b039b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Livewire/FilamentForm/Show.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public function create()
);
}

$this->emit('entrySaved', $entryModel);
$this->dispatch('entrySaved', $entryModel);

if ($this->filamentForm->redirect_url) {
return redirect($this->filamentForm->redirect_url);
Expand Down

0 comments on commit b039b95

Please sign in to comment.