Skip to content

Commit edc4e21

Browse files
refactoring
Co-authored-by: Robin <robin.kehl@singular-it.de>
1 parent 45fdd71 commit edc4e21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/Button/Base.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const props = withDefaults(
1919
},
2020
)
2121
22-
const el = ref<HTMLButtonElement | null>(null)
22+
const el = useTemplateRef('el')
2323
2424
defineExpose({
2525
focus: () => el.value?.focus(),

0 commit comments

Comments
 (0)