chore: remove comment

This commit is contained in:
Andrei O 2024-01-24 02:46:47 +02:00
parent fe8e4c273b
commit 5dabddc28e
No known key found for this signature in database
GPG Key ID: B961E5B68389457E
1 changed files with 1 additions and 35 deletions

View File

@ -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<Account[] | undefined>;
// let settingsProm: Promise<Settings | undefined>;
// 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) {