From 9b25a6d98d885abf8dec221a817c34ec7858f616 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 5 Feb 2025 12:26:08 +0100 Subject: [PATCH] fix(playground): keep click handler if not using popup --- playground/app.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playground/app.vue b/playground/app.vue index 8a73e59..223ad16 100644 --- a/playground/app.vue +++ b/playground/app.vue @@ -31,6 +31,7 @@ const providers = computed(() => { label: user.value?.bluesky || 'Bluesky', click() { + console.log('hello') const handle = prompt('Enter your Bluesky handle') if (handle) { navigateTo({ @@ -223,7 +224,7 @@ const providers = computed(() => prefetch: false, external: true, to: inPopup.value ? '#' : p.to, - click: inPopup.value ? () => openInPopup(p.to) : void 0, + click: inPopup.value ? () => openInPopup(p.to) : p.click, })), )