Skip to content

Commit

Permalink
Merge pull request #308 from reflexer-labs/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
mstfash authored Mar 27, 2022
2 parents bc106c6 + 3a55c7c commit b6f6a26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions cypress/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ const returnWallet = (type: string) => {
}

Cypress.Commands.overwrite('visit', (original, url, options) => {
console.log(options)

const { privateKey, walletAddress, allowTx } = returnWallet(
options && options.qs ? options.qs.type : ''
)
Expand Down
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 b6f6a26

Please sign in to comment.