diff --git a/stubs/inertia/resources/js/Pages/Profile/ConnectedAccountsForm.vue b/stubs/inertia/resources/js/Pages/Profile/ConnectedAccountsForm.vue index df7e43e8..8927f246 100644 --- a/stubs/inertia/resources/js/Pages/Profile/ConnectedAccountsForm.vue +++ b/stubs/inertia/resources/js/Pages/Profile/ConnectedAccountsForm.vue @@ -110,10 +110,6 @@ this.accountId = id; this.confirmingRemove = true; - - setTimeout(() => { - this.$refs.password.focus(); - }, 250); }, hasAccountForProvider(provider) { @@ -131,11 +127,7 @@ removeConnectedAccount(id) { this.form.post(route('connected-accounts.destroy', {id}), { preserveScroll: true, - onSuccess: () => { - if (! this.form.hasErrors()) { - this.confirmingRemove = false; - } - }, + onSuccess: () => (this.confirmingRemove = false), }); }, }