After making the changes, I tested the functionality of the platform again - you got an excellent result, almost everything works properly. Transactions are fast, no problems.
I noticed two main downsides:
- The problem of gas to repay the loan. You still need to set the gas manually, otherwise the transaction will not go through.
- After refreshing the page, I received the following error when trying to exchange assets, refreshing the page again helped.