Skip to content

Commit 1244b80

Browse files
committed
fix: add missing import for useSlots composable
1 parent 4a0e9de commit 1244b80

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/runtime/components/AutoForm.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import UFormField from '@nuxt/ui/components/FormField.vue'
99
1010
import defu from 'defu'
1111
import { splitByCase, upperFirst } from 'scule'
12-
import { computed, reactive, ref, toRaw, useTemplateRef } from 'vue'
12+
import { computed, reactive, ref, toRaw, useSlots, useTemplateRef } from 'vue'
1313
import { COMPONENTS_MAP, mapZodTypeToComponent } from '../components_map'
1414
1515
const props = withDefaults(defineProps<{
@@ -25,7 +25,6 @@ const emit = defineEmits<{
2525
}>()
2626
2727
const slots = useSlots()
28-
2928
const state = reactive({ ...props.initialState })
3029
3130
defineExpose({ submit })

0 commit comments

Comments
 (0)