Skip to content

Commit

Permalink
chore: prefer props from setup scope
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprobst authored Feb 28, 2024
1 parent 516d897 commit 2cb80ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/entity-images.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const props = defineProps<{

<template>
<Carousel class="mx-14">
<CarouselPrevious v-if="$props.images.length > 2" />
<CarouselPrevious v-if="props.images.length > 2" />
<CarouselContent>
<CarouselItem v-for="(image, index) of props.images" :key="index" class="h-full">
<Card class="pb-3">
Expand All @@ -19,6 +19,6 @@ const props = defineProps<{
</Card>
</CarouselItem>
</CarouselContent>
<CarouselNext v-if="$props.images.length > 2" />
<CarouselNext v-if="props.images.length > 2" />
</Carousel>
</template>

0 comments on commit 2cb80ac

Please sign in to comment.