From 5dabddc28ef9737a710d7d151c274018b256b7a7 Mon Sep 17 00:00:00 2001 From: Andrei O Date: Wed, 24 Jan 2024 02:46:47 +0200 Subject: [PATCH] chore: remove comment --- src/views/AbiAdd.vue | 36 +----------------------------------- 1 file changed, 1 insertion(+), 35 deletions(-) diff --git a/src/views/AbiAdd.vue b/src/views/AbiAdd.vue index 0f897bc..1196dc5 100644 --- a/src/views/AbiAdd.vue +++ b/src/views/AbiAdd.vue @@ -113,43 +113,9 @@ export default defineComponent({ const alertOpen = ref(false); const alertMsg = ref(""); - // const route = useRoute(); - // const isEdit = route.path.includes("/edit"); - // const paramAddress = route.params.address ?? ""; const loading = ref(false); - // let accountsProm: Promise; - // let settingsProm: Promise; - - // const resetFields = () => { - // name.value = ""; - // pk.value = ""; - // }; - - // const openModal = async () => { - // const modal = await modalController.create({ - // component: UnlockModal, - // componentProps: { - // unlockType: "addAccount", - // }, - // }); - // modal.present(); - // const { role, data } = await modal.onWillDismiss(); - // if (role === "confirm") return data; - // return false; - // }; - - onIonViewWillEnter(async () => { - // if (isEdit && paramAddress) { - // accountsProm = getAccounts(); - // settingsProm = getSettings(); - // const accounts = (await accountsProm) as Account[]; - // const acc = accounts.find((account) => account.address === paramAddress); - // if (acc) { - // name.value = acc.name; - // } - // } - }); + onIonViewWillEnter(async () => {}); const onAddAbi = async () => { if (!name.value) {