diff --git a/src/components/Profile/SettingsTab.vue b/src/components/Profile/SettingsTab.vue index 36d16007..e15a3158 100644 --- a/src/components/Profile/SettingsTab.vue +++ b/src/components/Profile/SettingsTab.vue @@ -22,9 +22,24 @@ {{ userStore.getUser.displayName }} , are you sure you want to delete your account? This action is irreversible. + + + - + @@ -42,6 +57,7 @@ const deleteDialog = ref({ show: false, author: userStore.getUser }) +const confirmationText = ref('') function onLogout() { if (customWeb3modal.getAddress()) { @@ -53,6 +69,7 @@ function onLogout() { function openDeleteConfirmationDialog() { deleteDialog.value.show = true + confirmationText.value = '' } async function onDeleteAccount() {