From d26cf96c455f754539ad08815b2a824d735156ce Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Thu, 27 Apr 2023 21:22:17 -0400 Subject: [PATCH] Only generate qr code on hover --- web-frontend/src/lib/CopyButton.svelte | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web-frontend/src/lib/CopyButton.svelte b/web-frontend/src/lib/CopyButton.svelte index 477b618..0ab72cd 100644 --- a/web-frontend/src/lib/CopyButton.svelte +++ b/web-frontend/src/lib/CopyButton.svelte @@ -67,9 +67,12 @@ /> +
{#key data} - + {#if qrVisible} + + {/if} {/key}