From 7e6dd4a3d7bcabbfd3e0a2a31d4b98a04e09e210 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 24 Sep 2023 22:41:54 -0700 Subject: fix shopify qr code --- src/routes/(app)/[username]/shopify.js/+server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/routes/(app)/[username]/shopify.js/+server.js b/src/routes/(app)/[username]/shopify.js/+server.js index 963b92a1..7b5c9d41 100644 --- a/src/routes/(app)/[username]/shopify.js/+server.js +++ b/src/routes/(app)/[username]/shopify.js/+server.js @@ -46,8 +46,6 @@ window.addEventListener('load', async () => { let s = (s) => new Intl.NumberFormat('en-US', { maximumFractionDigits: 0 }).format(s); - let base64 = drawImg('test', { size: 300 }); - let link = document.createElement('link'); link.setAttribute('rel', 'stylesheet'); link.setAttribute('type', 'text/css'); @@ -92,6 +90,8 @@ window.addEventListener('load', async () => { }) .catch(console.log); + let base64 = drawImg(data.hash, { size: 300 }); + main.innerHTML = \`
-- cgit v1.2.3 From 4bb180dc3501d800ada1e69cccd5082cf22b2a95 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 25 Sep 2023 20:40:51 -0700 Subject: bounties update --- src/routes/(static)/bounties/+page.svelte | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/routes/(static)/bounties/+page.svelte b/src/routes/(static)/bounties/+page.svelte index 32a962fc..b58dcaa8 100644 --- a/src/routes/(static)/bounties/+page.svelte +++ b/src/routes/(static)/bounties/+page.svelte @@ -9,14 +9,15 @@