exactly / app

web application for interacting with exactly protocol.
https://app.exact.ly
Other
20 stars 11 forks source link

🐛 installments: withdraw modal MAX crash #1392

Closed alexx855 closed 5 months ago

alexx855 commented 5 months ago

This in an attempt to fix the issue #1391

vercel[bot] commented 5 months ago

@alexx855 is attempting to deploy a commit to the exactly Team on Vercel.

A member of the Team first needs to authorize it.

franm91 commented 5 months ago

Alex, tyvm for the contribution; this issue occurs when the installment hook tries to calculate installments when the operation is not a borrowAtMaturity (ej: withdrawal); we are sending a fix that only calculates the installments when the operation is the correct one.

alexx855 commented 5 months ago

Awesome, it's not crashing anymore after that fix.

Un saludo 🫡

Alex, tyvm for the contribution; this issue occurs when the installment hook tries to calculate installments when the operation is not a borrowAtMaturity (ej: withdrawal); we are sending a fix that only calculates the installments when the operation is the correct one.