mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-21 05:49:37 +02:00
fix: update CollectionCard to use adventures from collection instead of a separate prop
This commit is contained in:
parent
50a80a8116
commit
cf108ecd3a
1 changed files with 1 additions and 2 deletions
|
@ -23,7 +23,6 @@
|
|||
const dispatch = createEventDispatcher();
|
||||
|
||||
export let type: String | undefined | null;
|
||||
export let adventures: Adventure[] = [];
|
||||
let isShareModalOpen: boolean = false;
|
||||
|
||||
function editAdventure() {
|
||||
|
@ -88,7 +87,7 @@
|
|||
>
|
||||
<!-- Image Carousel -->
|
||||
<div class="relative overflow-hidden rounded-t-2xl">
|
||||
<CardCarousel {adventures} />
|
||||
<CardCarousel adventures={collection.adventures} />
|
||||
|
||||
<!-- Badge Overlay -->
|
||||
<div class="absolute top-4 left-4 flex flex-col gap-2">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue