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