From c06880f6f5e966cfed4d988d5cd852fb000346e8 Mon Sep 17 00:00:00 2001 From: Amitabh Aggarwal Date: Fri, 8 Nov 2024 12:59:14 -0600 Subject: [PATCH 1/3] feat: adjust spacing in staking banner --- .../StakingBalance/StakingCta/StakingCta.tsx | 14 +++++++------- .../__snapshots__/StakingCta.test.tsx.snap | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/components/UI/Stake/components/StakingBalance/StakingCta/StakingCta.tsx b/app/components/UI/Stake/components/StakingBalance/StakingCta/StakingCta.tsx index 8256ec6b79a..22512573686 100644 --- a/app/components/UI/Stake/components/StakingBalance/StakingCta/StakingCta.tsx +++ b/app/components/UI/Stake/components/StakingBalance/StakingCta/StakingCta.tsx @@ -30,12 +30,12 @@ const StakingCta = ({ estimatedRewardRate, style }: StakingCtaProps) => { }); trackEvent( createEventBuilder(MetaMetricsEvents.STAKE_LEARN_MORE_CLICKED) - .addProperties({ - selected_provider: 'consensys', - text: 'Learn More', - location: 'Token Details' - }) - .build() + .addProperties({ + selected_provider: 'consensys', + text: 'Learn More', + location: 'Token Details', + }) + .build(), ); }; @@ -51,7 +51,7 @@ const StakingCta = ({ estimatedRewardRate, style }: StakingCtaProps) => { {estimatedRewardRate} - {strings('stake.stake_your_eth_cta.annually')} + {`${strings('stake.stake_your_eth_cta.annually')} `}