Skip to content

Commit

Permalink
replace emit to dispatch (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jero Apriyansah authored Sep 25, 2023
1 parent 120c736 commit 3a0d869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Livewire/SetPasswordForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function setPassword(SetsUserPasswords $setter): void
'password_confirmation' => '',
];

$this->emit('saved');
$this->dispatch('saved');
}

/**
Expand Down

0 comments on commit 3a0d869

Please sign in to comment.