docs(command-palette): use index in example to prevent ts error for now

This commit is contained in:
Benjamin Canac
2024-09-30 14:30:42 +02:00
parent 6aac821e80
commit afd9b8f2b9

View File

@@ -33,8 +33,8 @@ const groups = [{
<template>
<UCommandPalette :groups="groups" class="flex-1 h-80">
<template #users-leading="{ item }">
<UAvatar :src="`https://i.pravatar.cc/120?img=${item.id}`" size="2xs" />
<template #users-leading="{ index }">
<UAvatar :src="`https://i.pravatar.cc/120?img=${index}`" size="2xs" />
</template>
<template #billing-label="{ item }">