From 791451bad587043995bb3518ea5a9606a5c21b6c Mon Sep 17 00:00:00 2001 From: Nam Nguyen Date: Sun, 6 Aug 2023 20:23:12 +0700 Subject: [PATCH] fix: correct field --- src/hooks/kyberdao/types.ts | 2 +- src/pages/KyberDAO/KNCUtility/EligibleTxModal.tsx | 2 +- src/services/kyberDAO.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hooks/kyberdao/types.ts b/src/hooks/kyberdao/types.ts index 00de6c5996..11867aecd9 100644 --- a/src/hooks/kyberdao/types.ts +++ b/src/hooks/kyberdao/types.ts @@ -85,7 +85,7 @@ interface TransactionInfo { gasFeeInNativeToken: string epoch: number userTier: number - gasRefundPerCentage: string + gasRefundPercentage: string userWallet: string } diff --git a/src/pages/KyberDAO/KNCUtility/EligibleTxModal.tsx b/src/pages/KyberDAO/KNCUtility/EligibleTxModal.tsx index 2ab6171d07..fd0dd247d0 100644 --- a/src/pages/KyberDAO/KNCUtility/EligibleTxModal.tsx +++ b/src/pages/KyberDAO/KNCUtility/EligibleTxModal.tsx @@ -139,7 +139,7 @@ export default function EligibleTxModal({ isOpen, closeModal }: { isOpen: boolea {formattedNum(tx.gasRefundInKNC)} KNC - Tier {tx.userTier} - {Number(tx.gasRefundPerCentage) * 100}% + Tier {tx.userTier} - {Number(tx.gasRefundPercentage) * 100}% diff --git a/src/services/kyberDAO.ts b/src/services/kyberDAO.ts index fa16343e8a..dcd828af16 100644 --- a/src/services/kyberDAO.ts +++ b/src/services/kyberDAO.ts @@ -44,7 +44,7 @@ interface TransactionInfo { gasFeeInNativeToken: string epoch: number userTier: number - gasRefundPerCentage: string + gasRefundPercentage: string userWallet: string }