delete account and later on modal closing effect.

This commit is contained in:
Cindy Chang
2024-06-24 10:09:39 +08:00
parent b55cc0a6d6
commit 00d086ff1d
7 changed files with 51 additions and 11 deletions

View File

@@ -219,6 +219,7 @@ export default {
};
const onDeleteBtnClick = (usernameToDelete) => {
acctMgmtStore.setCurrentViewingUser(usernameToDelete);
modalStore.openModal(MODAL_DELETE);
};