Skip to content

Commit

Permalink
fix stability fee
Browse files Browse the repository at this point in the history
  • Loading branch information
mstfash committed Mar 27, 2022
1 parent 781e83a commit 3a55c7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hooks/useSafe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,10 @@ export function useSafeInfo(type: SafeTypes = 'create') {
const liquidationPenaltyPercentage = useMemo(() => {
return getRatePercentage(liquidationData.liquidationPenalty, 0)
}, [liquidationData])

const stabilityFeePercentage = useMemo(() => {
return liquidationData.totalAnnualizedStabilityFee
? getRatePercentage(liquidationData.totalAnnualizedStabilityFee, 1)
? getRatePercentage(liquidationData.totalAnnualizedStabilityFee, 2)
: '-'
}, [liquidationData])

Expand Down

0 comments on commit 3a55c7c

Please sign in to comment.