From 8f58fe4017d7c5a9e783e06353e4d01d2f0ca3dd Mon Sep 17 00:00:00 2001 From: Nuwan Date: Thu, 21 Nov 2024 20:01:43 +0530 Subject: [PATCH] fixes in affiliate section - more textual and style fixes --- jam-ui/cypress/e2e/affiliates/affiliates-earnings-page.cy.js | 2 +- jam-ui/src/components/affiliate/AgreementText.js | 4 ++-- jam-ui/src/components/affiliate/JKAffiliateEarning.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/jam-ui/cypress/e2e/affiliates/affiliates-earnings-page.cy.js b/jam-ui/cypress/e2e/affiliates/affiliates-earnings-page.cy.js index dcebb1565..03d7d518c 100644 --- a/jam-ui/cypress/e2e/affiliates/affiliates-earnings-page.cy.js +++ b/jam-ui/cypress/e2e/affiliates/affiliates-earnings-page.cy.js @@ -68,7 +68,7 @@ describe('Affiliate Earnings', () => { cy.wait('@fetchAllEarnings'); cy.get('[data-testid=affiliateEarningsList] tbody tr:first-child td') .eq(0) - .should('have.text', 'September - 2021'); + .should('have.text', 'September 2021'); cy.get('[data-testid=affiliateEarningsList] tbody tr:first-child td') .eq(1) .should('have.text', 'Silver - 2'); diff --git a/jam-ui/src/components/affiliate/AgreementText.js b/jam-ui/src/components/affiliate/AgreementText.js index 70a2f409b..e9755577f 100644 --- a/jam-ui/src/components/affiliate/AgreementText.js +++ b/jam-ui/src/components/affiliate/AgreementText.js @@ -67,8 +67,8 @@ const AgreementText = () => { for Qualifying Purchases (defined in Section 7) made by your Qualifying Customers (defined in Section 7). A “ - Product is a product or service - ” sold on the JamKazam Site and listed in the + Product + ” is a product or service sold on the JamKazam Site and listed in the Program Advertising Fee Schedule  in Section 10. In order to facilitate your advertisement of Products, we may make available to you diff --git a/jam-ui/src/components/affiliate/JKAffiliateEarning.js b/jam-ui/src/components/affiliate/JKAffiliateEarning.js index 5db07a159..8de311d4c 100644 --- a/jam-ui/src/components/affiliate/JKAffiliateEarning.js +++ b/jam-ui/src/components/affiliate/JKAffiliateEarning.js @@ -11,7 +11,7 @@ const JKAffiliateEarning = ({ payment }) => { {greaterThan.sm ? ( - {monthName(payment.month - 1)} - {payment.year} + {monthName(payment.month - 1)} {payment.year} {payment.subscriptions.map((subscription, index) => (