diff --git a/src/hooks/useSafe.ts b/src/hooks/useSafe.ts index e1e719f3..019914ec 100644 --- a/src/hooks/useSafe.ts +++ b/src/hooks/useSafe.ts @@ -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