mirror of
https://github.com/andrei0x309/clear-wallet.git
synced 2024-11-18 23:41:10 +00:00
chore: remove comment
This commit is contained in:
parent
fe8e4c273b
commit
5dabddc28e
@ -113,43 +113,9 @@ export default defineComponent({
|
|||||||
const alertOpen = ref(false);
|
const alertOpen = ref(false);
|
||||||
|
|
||||||
const alertMsg = ref("");
|
const alertMsg = ref("");
|
||||||
// const route = useRoute();
|
|
||||||
// const isEdit = route.path.includes("/edit");
|
|
||||||
// const paramAddress = route.params.address ?? "";
|
|
||||||
const loading = ref(false);
|
const loading = ref(false);
|
||||||
|
|
||||||
// let accountsProm: Promise<Account[] | undefined>;
|
onIonViewWillEnter(async () => {});
|
||||||
// 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;
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
});
|
|
||||||
|
|
||||||
const onAddAbi = async () => {
|
const onAddAbi = async () => {
|
||||||
if (!name.value) {
|
if (!name.value) {
|
||||||
|
Loading…
Reference in New Issue
Block a user