diff --git a/components/CarouselPagination.vue b/components/CarouselPagination.vue index 82ce7cf..61be4b9 100644 --- a/components/CarouselPagination.vue +++ b/components/CarouselPagination.vue @@ -18,8 +18,8 @@ const carousel = inject(injectCarousel)!; const amount = carousel.maxSlide - carousel.minSlide + 1; -function slideTo(index: number) { - const offsetIndex = index + carousel.minSlide; - carousel.nav.slideTo(offsetIndex); -} +// function slideTo(index: number) { +// const offsetIndex = index + carousel.minSlide; +// carousel.nav.slideTo(offsetIndex); +// } diff --git a/components/CreateCollectionModal.vue b/components/CreateCollectionModal.vue index 1410b4b..6455475 100644 --- a/components/CreateCollectionModal.vue +++ b/components/CreateCollectionModal.vue @@ -58,7 +58,7 @@ const emit = defineEmits<{ created: [collectionId: string]; }>(); -const open: Ref = defineModel(); +const open = defineModel({ required: true }); const collectionName = ref(""); const createCollectionLoading = ref(false); diff --git a/components/Logo.vue b/components/DropLogo.vue similarity index 98% rename from components/Logo.vue rename to components/DropLogo.vue index 6105fd1..d776005 100644 --- a/components/Logo.vue +++ b/components/DropLogo.vue @@ -1,7 +1,7 @@ - @@ -121,7 +121,7 @@