Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mstfash committed Mar 7, 2022
1 parent 9fccb0c commit 5167bcd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/hooks/useSafe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,10 @@ export function useSafeInfo(type: SafeTypes = 'create') {
}

if (!rightInputBN.isZero()) {
const repayPercent = returnPercentAmount(rightInput, availableRai)
const repayPercent = returnPercentAmount(
rightInput,
availableRai as string
)

if (
rightInputBN
Expand Down

0 comments on commit 5167bcd

Please sign in to comment.