fix: update CollectionCard to use adventures from collection instead of a separate prop
This commit is contained in:
@@ -23,7 +23,6 @@
|
|||||||
const dispatch = createEventDispatcher();
|
const dispatch = createEventDispatcher();
|
||||||
|
|
||||||
export let type: String | undefined | null;
|
export let type: String | undefined | null;
|
||||||
export let adventures: Adventure[] = [];
|
|
||||||
let isShareModalOpen: boolean = false;
|
let isShareModalOpen: boolean = false;
|
||||||
|
|
||||||
function editAdventure() {
|
function editAdventure() {
|
||||||
@@ -88,7 +87,7 @@
|
|||||||
>
|
>
|
||||||
<!-- Image Carousel -->
|
<!-- Image Carousel -->
|
||||||
<div class="relative overflow-hidden rounded-t-2xl">
|
<div class="relative overflow-hidden rounded-t-2xl">
|
||||||
<CardCarousel {adventures} />
|
<CardCarousel adventures={collection.adventures} />
|
||||||
|
|
||||||
<!-- Badge Overlay -->
|
<!-- Badge Overlay -->
|
||||||
<div class="absolute top-4 left-4 flex flex-col gap-2">
|
<div class="absolute top-4 left-4 flex flex-col gap-2">
|
||||||
|
|||||||
Reference in New Issue
Block a user