Skip to content

Commit

Permalink
Tweak wording in savings dialogs (#96)
Browse files Browse the repository at this point in the history
* Tweak wording in savings dialogs

* Biome ignore e2e test results
  • Loading branch information
krzkaczor authored Jun 13, 2024
1 parent b208ab7 commit 17ebae5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"packages/app/storybook-static",
"packages/app/__screenshots__",
"packages/app/playwright-report",
"packages/app/test-results",
"src/test/e2e/hars/**"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function APYDetails({ APY, daiEarnRate }: APYDetailsProps) {
className="text-basics-dark-grey text-sm"
data-testid={testIds.dialog.savings.nativeRouteTransactionOverview.apy.description}
>
Earn ~{USD_MOCK_TOKEN.format(daiEarnRate, { style: 'auto' })} DAI per year
~{USD_MOCK_TOKEN.format(daiEarnRate, { style: 'auto' })} DAI per year
</div>
</div>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ test.describe('Deposit DAI on Mainnet', () => {
await depositDialog.expectNativeRouteTransactionOverview({
apy: {
value: '5.00%',
description: 'Earn ~500.00 DAI per year',
description: '~500.00 DAI per year',
},
routeItems: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ test.describe('Withdraw DAI on Mainnet', () => {
await withdrawalDialog.expectNativeRouteTransactionOverview({
apy: {
value: '5.00%',
description: 'Earn ~350.00 DAI per year',
description: '~350.00 DAI per year',
},
routeItems: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ test.describe('Withdraw max DAI on Mainnet', () => {
await withdrawalDialog.expectNativeRouteTransactionOverview({
apy: {
value: '5.00%',
description: 'Earn ~535.75 DAI per year',
description: '~535.75 DAI per year',
},
routeItems: [
{
Expand Down

1 comment on commit 17ebae5

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit was deployed on ipfs

Please sign in to comment.