Skip to content

Commit

Permalink
wording changes (#220)
Browse files Browse the repository at this point in the history
* wording changes

* FIx test

---------

Co-authored-by: jmzwar <james@jmzwar.com>
  • Loading branch information
jmzwar and jmzwar authored Apr 4, 2024
1 parent 2511196 commit 2f67369
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion liquidity/components/Pools/AvailableCollateral.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});

Expand Down
6 changes: 3 additions & 3 deletions liquidity/components/Pools/AvailableCollateral.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ export function AvailableCollateralUi({
return (
<BorderBox p={4} mt={8} flexDir="column">
<Heading fontSize="2xl" mb="2">
{isLoading ? 'Loading Collateral...' : 'Available Collateral'}
{isLoading ? 'Loading Collateral...' : 'Collateral Withdrawal'}
</Heading>
{!isLoading && (
<Fade in>
<Flex alignItems="center" mb="0">
<Text color="gray.500">
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.
</Text>
<Alert
ml="auto"
Expand Down
2 changes: 1 addition & 1 deletion liquidity/ui/src/components/Rewards/Rewards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const Rewards = ({
py={3}
>
Active Rewards
<Tooltip label="Estimated rewards based on your position size">
<Tooltip label="Total rewards active for the Pool">
<InfoIcon ml={1} mb="1px" />
</Tooltip>
</Th>
Expand Down

0 comments on commit 2f67369

Please sign in to comment.