Skip to content

Commit

Permalink
function name typo fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
tempe-techie committed Apr 14, 2024
1 parent 3787fab commit 1f0a279
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions components/send-tokens/SendTokensComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@

<!-- Disabled Send tokens button (if not input amount is entered) -->
<button
v-if="isActivated && !inputTokenAmount && isSupportedNetwork"
v-if="isActivated && !inputTokenAmount && isSupportedChain"
:disabled="true"
class="btn btn-outline-primary"
type="button"
Expand All @@ -77,8 +77,8 @@

<!-- Send tokens button -->
<button
v-if="isActivated && inputTokenAmount && inputAmountLessThanBalance && isSupportedNetwork"
:disabled="waiting || !inputToken || !inputTokenAmount || !isActivated || !inputAmountLessThanBalance || !inputReceiver || !isSupportedNetwork"
v-if="isActivated && inputTokenAmount && inputAmountLessThanBalance && isSupportedChain"
:disabled="waiting || !inputToken || !inputTokenAmount || !isActivated || !inputAmountLessThanBalance || !inputReceiver || !isSupportedChain"
class="btn btn-outline-primary"
type="button"
@click="send"
Expand All @@ -89,7 +89,7 @@

<!-- Balance too low button -->
<button
v-if="isActivated && inputTokenAmount && !inputAmountLessThanBalance && isSupportedNetwork"
v-if="isActivated && inputTokenAmount && !inputAmountLessThanBalance && isSupportedChain"
:disabled="true"
class="btn btn-outline-primary"
type="button"
Expand Down Expand Up @@ -182,7 +182,7 @@ export default {
return false;
},
isSupportedNetwork() {
isSupportedChain() {
return this.chainId == this.$config.supportedChainId;
}
Expand Down

0 comments on commit 1f0a279

Please sign in to comment.