From 93015a423fa49c101b6341a8be57fbf58a961448 Mon Sep 17 00:00:00 2001 From: paring Date: Tue, 19 Mar 2024 23:38:14 +0900 Subject: [PATCH] fix: make popover content browser only --- src/lib/components/Popover.svelte | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/components/Popover.svelte b/src/lib/components/Popover.svelte index 0a29c76..89e0ec1 100644 --- a/src/lib/components/Popover.svelte +++ b/src/lib/components/Popover.svelte @@ -67,12 +67,12 @@ const buttonRef: Action = (node) => { button = node } - - const display = BROWSER ? 'block' : 'none' -
- -
+{#if BROWSER} +
+ +
+{/if}