File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
inertia/resources/js/Pages/Profile
livewire/resources/views/profile Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ class DeleteUserForm extends Component
3030 *
3131 * @return void
3232 */
33- public function confirmDelete ()
33+ public function confirmUserDeletion ()
3434 {
3535 $ this ->password = '' ;
3636
Original file line number Diff line number Diff line change 1414 </div >
1515
1616 <div class =" mt-5" >
17- <jet-danger-button @click.native =" confirmTeamDeletion " >
17+ <jet-danger-button @click.native =" confirmUserDeletion " >
1818 Delete Account
1919 </jet-danger-button >
2020 </div >
8787 },
8888
8989 methods: {
90- confirmTeamDeletion () {
90+ confirmUserDeletion () {
9191 this .confirmingUserDeletion = true
9292 },
9393
Original file line number Diff line number Diff line change 1313 </div >
1414
1515 <div class =" mt-5" >
16- <x-jet-danger-button wire:click =" $toggle('confirmingUserDeletion') " wire:loading.attr =" disabled" >
16+ <x-jet-danger-button wire:click =" confirmUserDeletion " wire:loading.attr =" disabled" >
1717 Delete Account
1818 </x-jet-danger-button >
1919 </div >
You can’t perform that action at this time.
0 commit comments