Skip to content

Commit

Permalink
Merge pull request #9129 from kodadot/fix/disable-max
Browse files Browse the repository at this point in the history
🚑 max on XCM results in loss of funds
  • Loading branch information
vikiival authored Jan 25, 2024
2 parents 88d57e3 + 2583015 commit 0e16eb1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions components/teleport/Teleport.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,14 @@
})
}}{{ currency }}
</span>
<NeoButton
<!-- <NeoButton
no-shadow
rounded
size="small"
class="ml-2"
@click="handleMaxClick"
>{{ $t('teleport.max') }}</NeoButton
>
> -->
</div>
</div>

Expand Down Expand Up @@ -438,9 +438,9 @@ const isDisabledButton = computed(() => {
)
})
const handleMaxClick = () => {
amount.value = myBalance.value
}
// const handleMaxClick = () => {
// amount.value = myBalance.value
// }
const checkEDBeforeTeleport = () => {
if (showEDWarning.value) {
Expand Down

0 comments on commit 0e16eb1

Please sign in to comment.