diff --git a/src/front/pages/offers.js b/src/front/pages/offers.js index a88e96b..de827b2 100644 --- a/src/front/pages/offers.js +++ b/src/front/pages/offers.js @@ -50,7 +50,7 @@ function offersPage() { viewMyOffersRoot.style.display = viewMyOffersRoot.style.display === 'block' ? 'none' : 'block'; } - class Offer { + class OfferCard { constructor(offerData) { this.uuid = offerData.uuid; this.public_key = offerData.public_key; @@ -440,7 +440,7 @@ function offersPage() { const offersData = (await offersResponse.json()).data; if (offersResponse.ok) { for (const record of offersData) { - this.offers.push(new Offer(record)); + this.offers.push(new OfferCard(record)); } } }