Skip to content

Commit

Permalink
fix: correct field
Browse files Browse the repository at this point in the history
  • Loading branch information
namgold committed Aug 6, 2023
1 parent 170a509 commit 791451b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/hooks/kyberdao/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ interface TransactionInfo {
gasFeeInNativeToken: string
epoch: number
userTier: number
gasRefundPerCentage: string
gasRefundPercentage: string
userWallet: string
}

Expand Down
2 changes: 1 addition & 1 deletion src/pages/KyberDAO/KNCUtility/EligibleTxModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export default function EligibleTxModal({ isOpen, closeModal }: { isOpen: boolea
<Flex flexDirection="column" sx={{ gap: '4px' }}>
<Text>{formattedNum(tx.gasRefundInKNC)} KNC</Text>
<Text fontWeight={400} color={theme.subText}>
<Trans>Tier {tx.userTier}</Trans> - {Number(tx.gasRefundPerCentage) * 100}%
<Trans>Tier {tx.userTier}</Trans> - {Number(tx.gasRefundPercentage) * 100}%
</Text>
</Flex>
</HeaderCell>
Expand Down
2 changes: 1 addition & 1 deletion src/services/kyberDAO.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ interface TransactionInfo {
gasFeeInNativeToken: string
epoch: number
userTier: number
gasRefundPerCentage: string
gasRefundPercentage: string
userWallet: string
}

Expand Down

0 comments on commit 791451b

Please sign in to comment.