Skip to content

Commit

Permalink
fixing bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Sep 8, 2020
1 parent 915c797 commit d85870d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Http/Livewire/DeleteUserForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class DeleteUserForm extends Component
*
* @return void
*/
public function confirmDelete()
public function confirmUserDeletion()
{
$this->password = '';

Expand Down
4 changes: 2 additions & 2 deletions stubs/inertia/resources/js/Pages/Profile/DeleteUserForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</div>

<div class="mt-5">
<jet-danger-button @click.native="confirmTeamDeletion">
<jet-danger-button @click.native="confirmUserDeletion">
Delete Account
</jet-danger-button>
</div>
Expand Down Expand Up @@ -87,7 +87,7 @@
},
methods: {
confirmTeamDeletion() {
confirmUserDeletion() {
this.confirmingUserDeletion = true
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</div>

<div class="mt-5">
<x-jet-danger-button wire:click="$toggle('confirmingUserDeletion')" wire:loading.attr="disabled">
<x-jet-danger-button wire:click="confirmUserDeletion" wire:loading.attr="disabled">
Delete Account
</x-jet-danger-button>
</div>
Expand Down

0 comments on commit d85870d

Please sign in to comment.