diff --git a/centrifuge-app/src/pages/Loan/ExternalRepayForm.tsx b/centrifuge-app/src/pages/Loan/ExternalRepayForm.tsx index bb093e0af..add29d3d1 100644 --- a/centrifuge-app/src/pages/Loan/ExternalRepayForm.tsx +++ b/centrifuge-app/src/pages/Loan/ExternalRepayForm.tsx @@ -118,7 +118,7 @@ export function ExternalRepayForm({ loan, destination }: { loan: ExternalLoan; d ? loan.outstandingPrincipal : CurrencyBalance.fromFloat(0, pool.currency.decimals) - const fiveMinuteBuffer = 5 * 60 * 1000 + const fiveMinuteBuffer = 5 * 60 const time = Date.now() + fiveMinuteBuffer - loan.fetchedAt.getTime() const mostUpToDateInterest = CurrencyBalance.fromFloat( outstandingPrincipal diff --git a/centrifuge-app/src/pages/Loan/RepayForm.tsx b/centrifuge-app/src/pages/Loan/RepayForm.tsx index 5ef819811..80744fb19 100644 --- a/centrifuge-app/src/pages/Loan/RepayForm.tsx +++ b/centrifuge-app/src/pages/Loan/RepayForm.tsx @@ -152,7 +152,7 @@ function InternalRepayForm({ loan, destination }: { loan: ActiveLoan | CreatedLo ? loan.outstandingPrincipal : CurrencyBalance.fromFloat(0, pool.currency.decimals) - const fiveMinuteBuffer = 5 * 60 * 1000 + const fiveMinuteBuffer = 5 * 60 const time = Date.now() + fiveMinuteBuffer - loan.fetchedAt.getTime() const mostUpToDateInterest = CurrencyBalance.fromFloat( outstandingPrincipal