chore(components): use useId from vue

This commit is contained in:
Benjamin Canac
2024-09-05 16:00:30 +02:00
parent 9c4e8f2dba
commit de0133e177
6 changed files with 12 additions and 18 deletions

View File

@@ -36,9 +36,8 @@ export interface FormFieldSlots {
</script>
<script setup lang="ts">
import { computed, ref, inject, provide, type Ref } from 'vue'
import { computed, ref, inject, provide, type Ref, useId } from 'vue'
import { Label } from 'radix-vue'
import { useId } from '#imports'
import { formFieldInjectionKey } from '../composables/useFormField'
import type { FormError } from '../types/form'