diff --git a/cypress/support/commands.ts b/cypress/support/commands.ts index 79c28497..de99d804 100644 --- a/cypress/support/commands.ts +++ b/cypress/support/commands.ts @@ -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 : '' ) diff --git a/src/hooks/useSafe.ts b/src/hooks/useSafe.ts index 54adf871..92a90742 100644 --- a/src/hooks/useSafe.ts +++ b/src/hooks/useSafe.ts @@ -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])