mrgnlabs / mrgn-ts

https://app.marginfi.com
Apache License 2.0
87 stars 70 forks source link

fix(mfi-ui): refresh lendbox after action #962

Closed borcherd closed 1 week ago

borcherd commented 2 weeks ago

The other actionboxes refresh their state when they open up, but the borrowlend box on the homepage doesnt open/close after a transaction, so refetching the selectedBanks triggers to recalculate the maxAmount. We should keep this in mind for future actionbox usage, but it doenst affect any other action boxes atm cause they are all within a dialog.

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marginfi-v2-trading ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 21, 2024 9:15am
marginfi-v2-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 21, 2024 9:15am
2 Skipped Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **marginfi-landing-page** | ⬜️ Skipped ([Inspect](https://vercel.com/mrgn/marginfi-landing-page/9zdA6zm5SncnqCQyWi8c69cE6bfs)) | | | Nov 21, 2024 9:15am | | **marginfi-v2-docs** | ⬜️ Skipped ([Inspect](https://vercel.com/mrgn/marginfi-v2-docs/4HvBdvP4erE3MqkSBLtn9Mzt4SEF)) | | | Nov 21, 2024 9:15am |
alwaysmeticulous[bot] commented 2 weeks ago

🤖 No test run has been triggered as your Meticulous project has been deactivated (since you haven't viewed any test results in a while). Click here to reactivate.

Last updated for commit ed83112. This comment will update as new commits are pushed.

k0beLeenders commented 1 week ago

Do we also need this for looping & repay w/ collat?

chambaz commented 1 week ago

nice 🤌