diff --git a/.husky/pre-commit b/.husky/pre-commit old mode 100644 new mode 100755 diff --git a/components/collection/drop/GenerativeLayout.vue b/components/collection/drop/GenerativeLayout.vue index a3144ea76c..9c4ce6094f 100644 --- a/components/collection/drop/GenerativeLayout.vue +++ b/components/collection/drop/GenerativeLayout.vue @@ -29,7 +29,7 @@ @@ -93,22 +93,19 @@ import type { Drop } from '@/components/drops/useDrops' import { getFormattedDropItem, - useDrop, } from '@/components/drops/useDrops' import { useCollectionActivity } from '@/composables/collectionActivity/useCollectionActivity' import { useCollectionMinimal } from '@/components/collection/utils/useCollectionDetails' import useCursorDropEvents from '@/composables/party/useCursorDropEvents' import { DropEventType } from '@/composables/party/types' -import { useCollectionEntity } from '@/composables/drop/useGenerativeDropMint' import type { DropItem } from '@/params/types' const mdBreakpoint = 768 const emit = defineEmits(['mint']) -const { drop } = useDrop() +const { drop } = storeToRefs(useDropStore()) const { previewItem, userMintsCount } = storeToRefs(useDropStore()) -const { description } = useCollectionEntity() const { width } = useWindowSize() const { emitEvent, completeLastEvent } = useCursorDropEvents() diff --git a/components/collection/drop/GenerativePreview.vue b/components/collection/drop/GenerativePreview.vue index 653ec6e3c0..cf8cc15d1a 100644 --- a/components/collection/drop/GenerativePreview.vue +++ b/components/collection/drop/GenerativePreview.vue @@ -56,16 +56,23 @@
{{ mintedPercent }}% ~
-
- {{ dropStore.mintsCount }}/{{ maxCount }} +
+ {{ drop.minted }}/{{ drop.max }} {{ $t('statsOverview.minted') }}
+
+ +
@@ -88,18 +95,14 @@