From c61b61aafadd18712e72bf0d2fd200386e3de93c Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Mon, 17 Jul 2023 15:15:09 +0300 Subject: [PATCH] chore: code clean-up --- static/components/customer-market/customer-market.html | 4 +--- static/components/customer-market/customer-market.js | 1 - templates/nostrmarket/market.html | 4 ++-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/static/components/customer-market/customer-market.html b/static/components/customer-market/customer-market.html index 7f391f3..6baf996 100644 --- a/static/components/customer-market/customer-market.html +++ b/static/components/customer-market/customer-market.html @@ -21,9 +21,7 @@ - - - +
diff --git a/static/components/customer-market/customer-market.js b/static/components/customer-market/customer-market.js index 69c11ab..33f8597 100644 --- a/static/components/customer-market/customer-market.js +++ b/static/components/customer-market/customer-market.js @@ -11,7 +11,6 @@ async function customerMarket(path) { 'relays', 'update-products', 'update-stalls', - 'styles', 'search-text', 'filter-categories' diff --git a/templates/nostrmarket/market.html b/templates/nostrmarket/market.html index 4f603a2..11fd093 100644 --- a/templates/nostrmarket/market.html +++ b/templates/nostrmarket/market.html @@ -294,8 +294,8 @@ @change-page="navigateTo"> + :search-text="searchText" :filter-categories="filterCategories" @change-page="navigateTo" + @update-data="updateData" @add-to-cart="addProductToCart">