From 2f67369fc3271f84c9d531612fcf1284817274b4 Mon Sep 17 00:00:00 2001 From: jz - synthetix <52280438+jmzwar@users.noreply.github.com> Date: Thu, 4 Apr 2024 17:30:20 +1100 Subject: [PATCH] wording changes (#220) * wording changes * FIx test --------- Co-authored-by: jmzwar --- liquidity/components/Pools/AvailableCollateral.cy.tsx | 2 +- liquidity/components/Pools/AvailableCollateral.tsx | 6 +++--- liquidity/ui/src/components/Rewards/Rewards.tsx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/liquidity/components/Pools/AvailableCollateral.cy.tsx b/liquidity/components/Pools/AvailableCollateral.cy.tsx index d2272c500..daaa67bb2 100644 --- a/liquidity/components/Pools/AvailableCollateral.cy.tsx +++ b/liquidity/components/Pools/AvailableCollateral.cy.tsx @@ -35,7 +35,7 @@ describe('AvailableCollateral Component', () => { /> ); - cy.get('h2').should('contain', 'Available Collateral'); + cy.get('h2').should('contain', 'Collateral Withdrawal'); cy.get('[data-testid="available-collateral"]').should('exist').should('contain', '100 SNX'); }); diff --git a/liquidity/components/Pools/AvailableCollateral.tsx b/liquidity/components/Pools/AvailableCollateral.tsx index 2bda94802..7d7059b98 100644 --- a/liquidity/components/Pools/AvailableCollateral.tsx +++ b/liquidity/components/Pools/AvailableCollateral.tsx @@ -48,14 +48,14 @@ export function AvailableCollateralUi({ return ( - {isLoading ? 'Loading Collateral...' : 'Available Collateral'} + {isLoading ? 'Loading Collateral...' : 'Collateral Withdrawal'} {!isLoading && ( - This collateral can be deposited to pools. As a security precaution, this collateral - cannot be withdrawn until at least 1 day has elapsed since previous account activity. + As a security precaution, collateral cannot be withdrawn until at least 1 day has + elapsed since previous account activity. Active Rewards - +