diff --git a/docs/app/components/content/examples/select/SelectFetchExample.vue b/docs/app/components/content/examples/select/SelectFetchExample.vue index d08bd79b0c..5e62b4e5a8 100644 --- a/docs/app/components/content/examples/select/SelectFetchExample.vue +++ b/docs/app/components/content/examples/select/SelectFetchExample.vue @@ -13,10 +13,6 @@ const { data: users, status, execute } = await useLazyFetch('https://jsonplaceho immediate: false }) -function getUserAvatar(value: string) { - return users.value?.find(user => user.value === value)?.avatar || {} -} - function onOpen() { if (!users.value?.length) { execute() @@ -34,10 +30,10 @@ function onOpen() { class="w-48" @update:open="onOpen" > -