diff --git a/src/components/Tippy.ts b/src/components/Tippy.ts index 2a820e5..94da069 100644 --- a/src/components/Tippy.ts +++ b/src/components/Tippy.ts @@ -118,9 +118,8 @@ const TippyComponent = defineComponent({ expose(exposed) - const slot = slots.default ? slots.default(exposed) : [] - return () => { + const slot = slots.default ? slots.default(exposed) : [] return h(props.tag, { ref: elem, 'data-v-tippy': '' }, slots.content ? [ slot,