Skip to content

Commit

Permalink
Fix insufficient alert
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpolman committed Jun 3, 2024
1 parent 1e1d9ed commit ea0380c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/app/src/components/tabs/BaseTabLiquidityCreate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export default defineComponent({
return contractNetworks[this.walletStore.wallet.chainId];
},
isAlertInsufficientTokensShown() {
return this.accountStore.isAuthenticated ? !this.balanceUSDC || !this.balanceTHX : false;
return this.accountStore.isAuthenticated ? !this.balanceUSDC && !this.balanceTHX : false;
},
isSufficientUSDCAllowance() {
if (!this.walletStore.allowances[this.address.USDC]) return false;
Expand Down

0 comments on commit ea0380c

Please sign in to comment.