mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
fix(FormGroup): add missing ref import from vue
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { inject } from 'vue'
|
||||
import { UseEventBusReturn, useDebounceFn } from '@vueuse/core'
|
||||
import { FormEvent, FormEventType } from '../types'
|
||||
import { inject, ref } from 'vue'
|
||||
import { type UseEventBusReturn, useDebounceFn } from '@vueuse/core'
|
||||
import type { FormEvent, FormEventType } from '../types'
|
||||
|
||||
export const useFormGroup = () => {
|
||||
const formBus = inject<UseEventBusReturn<FormEvent, string> | undefined>('form-events', undefined)
|
||||
|
||||
Reference in New Issue
Block a user