From 6718bdff341665181405723600fd7e8052d17583 Mon Sep 17 00:00:00 2001 From: Georges KABBOUCHI Date: Mon, 21 Feb 2022 10:40:10 +0200 Subject: [PATCH] closes #223 --- src/components/Tippy.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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,