From c28e49c5d1037ece86eaab59641c9bc768a86d43 Mon Sep 17 00:00:00 2001 From: Tiago Vasconcelos Date: Fri, 10 Mar 2023 16:22:39 +0000 Subject: [PATCH] clean up --- static/components/customer-market/customer-market.js | 1 + static/js/market.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/static/components/customer-market/customer-market.js b/static/components/customer-market/customer-market.js index 3d8a690..b05b23e 100644 --- a/static/components/customer-market/customer-market.js +++ b/static/components/customer-market/customer-market.js @@ -43,6 +43,7 @@ async function customerMarket(path) { authors: Array.from(merchants) } ]) + pool.close(relays) await this.$emit('update-data', [...stallEvents, ...productEvents]) this.$q.loading.hide() } diff --git a/static/js/market.js b/static/js/market.js index 2783a0c..ec69bea 100644 --- a/static/js/market.js +++ b/static/js/market.js @@ -10,7 +10,6 @@ const market = async () => { 'wss://nostr.zebedee.cloud' ] const eventToObj = event => { - console.log(event.content) event.content = JSON.parse(event.content) || null return { ...event,