mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-25 01:10:40 +01:00
docs(carousel): hydration issue in one example
This commit is contained in:
@@ -27,7 +27,7 @@ const items = [
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template #indicator="{ onClick, index, active }">
|
<template #indicator="{ onClick, index, active }">
|
||||||
<UButton :label="index" :variant="active ? 'solid' : 'outline'" size="2xs" class="rounded-full min-w-6 justify-center" @click="onClick(index)" />
|
<UButton :label="String(index)" :variant="active ? 'solid' : 'outline'" size="2xs" class="rounded-full min-w-6 justify-center" @click="onClick(index)" />
|
||||||
</template>
|
</template>
|
||||||
</UCarousel>
|
</UCarousel>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user