From 1103eb52d522866f26f745a575a433b1af1dd17b Mon Sep 17 00:00:00 2001
From: Matej yangwao <5887929+yangwao@users.noreply.github.com>
Date: Sat, 16 Dec 2023 14:57:55 +0100
Subject: [PATCH] Revert "feat: Drops requiring funds to enable auto-teleport"
---
components/collection/drop/AddFundsModal.vue | 167 +++++++++---------
components/collection/drop/Generative.vue | 99 ++++++-----
.../collection/drop/HolderOfGenerative.vue | 43 +++--
components/collection/unlockable/const.ts | 3 +
.../autoTeleport/AutoTeleportActionButton.vue | 28 ++-
.../common/autoTeleport/AutoTeleportModal.vue | 53 +++---
components/common/autoTeleport/utils.ts | 77 --------
components/drops/useDrops.ts | 39 ----
components/shared/format/Money.vue | 12 +-
.../useAutoTeleportTransitionDetails.ts | 15 +-
composables/useAmount.ts | 13 +-
composables/useMultipleBalance.ts | 2 +-
locales/en.json | 52 +++---
stores/identity.ts | 20 ++-
utils/format/balance.ts | 12 --
utils/teleport.ts | 6 +-
16 files changed, 262 insertions(+), 379 deletions(-)
delete mode 100644 components/common/autoTeleport/utils.ts
diff --git a/components/collection/drop/AddFundsModal.vue b/components/collection/drop/AddFundsModal.vue
index e765128a35..37a2c03664 100644
--- a/components/collection/drop/AddFundsModal.vue
+++ b/components/collection/drop/AddFundsModal.vue
@@ -8,114 +8,117 @@
{{ $t('mint.unlockable.addFundsModal.textP2') }}
- {{ $t('mint.unlockable.addFundsModal.howToAddFunds') }}
-
- {{ $t('mint.unlockable.addFundsModal.tooltip.note') }}
- {{ $t('mint.unlockable.addFundsModal.textP2') }}
+ {{ $t('mint.unlockable.addFundsModal.howToAddFunds') }}
+
+ {{ $t('mint.unlockable.addFundsModal.tooltip.note') }}
+
- {{ $t('mint.unlockable.addFundsModal.tooltip.title', [token]) }}
-
-
-
-
-
-
+ {{ $t('mint.unlockable.addFundsModal.tooltip.title', [token]) }}
+
+
+
+
+