From ef0c8a465a22d912c6582e10d9d79a9c733ba82d Mon Sep 17 00:00:00 2001 From: Bobo Date: Fri, 14 Jun 2024 12:03:11 +0200 Subject: [PATCH] Fix dApp swiper configuration (#1317) * Fix dApp swiper configuration * Rewards earned sort fix * TVL ratio for previous period calculation fix * Hide period stats * Cast to bigint * Hide period stats --- src/i18n/en-US/index.ts | 2 +- src/staking-v3/components/PeriodStats.vue | 6 +++--- src/staking-v3/components/vote/choose-dapps/DappsList.vue | 4 ++-- src/staking-v3/hooks/usePeriodStats.ts | 5 ++++- src/v2/repositories/implementations/TokenApiRepository.ts | 8 +++++++- 5 files changed, 17 insertions(+), 8 deletions(-) diff --git a/src/i18n/en-US/index.ts b/src/i18n/en-US/index.ts index 721080ba2..f6fd56140 100644 --- a/src/i18n/en-US/index.ts +++ b/src/i18n/en-US/index.ts @@ -1047,7 +1047,7 @@ export default { moreInfoFor: 'More info for', bonusRewards: 'Bonus Rewards', threshold: 'Threshold', - percentageStaked: 'Percentage of Supply Staked', + percentageLocked: 'Percentage of Supply Locked', unclaimedRewards: 'Unclaimed rewards', rewardsClaimedOnStake: 'Rewards will be claimed when stake', ifYouStakeNow: 'If you stake now', diff --git a/src/staking-v3/components/PeriodStats.vue b/src/staking-v3/components/PeriodStats.vue index e36e805d2..2d655bcfb 100644 --- a/src/staking-v3/components/PeriodStats.vue +++ b/src/staking-v3/components/PeriodStats.vue @@ -1,5 +1,5 @@