mirror of
https://github.com/Instadapp/assembly.git
synced 2024-07-29 22:37:06 +00:00
Update SidebarReflexerPayback.vue
This commit is contained in:
parent
185052379a
commit
db880cd8b3
|
@ -133,7 +133,7 @@ export default defineComponent({
|
|||
const changedDebt = computed(() => max(minus(debt.value, amountParsed.value), '0').toFixed())
|
||||
const { liquidationPrice, status } = useReflexerPosition(collateral, changedDebt)
|
||||
|
||||
const maxBalance = computed(() => min(balance.value, debt.value).toFixed())
|
||||
const maxBalance = computed(() => min(balance.value, debt.value).toFixed(6))
|
||||
const { toggle, isMaxAmount } = useMaxAmountActive(amount, maxBalance)
|
||||
|
||||
const { validateAmount, validateLiquidation, validateIsLoggedIn, validateReflexerPaybackDebt } = useValidators()
|
||||
|
|
Loading…
Reference in New Issue
Block a user