From 4d1ec30d8dd02b8417036f00ef523d6b418def97 Mon Sep 17 00:00:00 2001 From: Sacha STAFYNIAK Date: Mon, 14 Mar 2022 00:30:05 +0100 Subject: [PATCH] fix: invalid watch sources --- src/components/Tippy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Tippy.ts b/src/components/Tippy.ts index c594c3b..018e49e 100644 --- a/src/components/Tippy.ts +++ b/src/components/Tippy.ts @@ -109,7 +109,7 @@ const TippyComponent = defineComponent({ emit('state', unref(tippy.state)) }, { immediate: true, deep: true }) - watch(props, () => { + watch(() => props, () => { tippy.setProps(getOptions()) if (slots.content)