Skip to content

Commit

Permalink
fix: allowance alert
Browse files Browse the repository at this point in the history
  • Loading branch information
JackHamer09 committed Jun 27, 2023
1 parent 137994d commit 319fa00
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions views/zksync/era/transactions/Deposit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@
<button type="button" class="link inline underline underline-offset-2" @click="setAmountToAllowance">
{{ parseTokenAmount(allowance!, selectedToken!.decimals) }}
</button>
<span class="wrap-balance">
&nbsp;Depositing more than that will require you to approve a new allowance.
<span class="block wrap-balance">
Depositing more than that will require you to approve a new allowance.
</span>
</p>
<a :href="TOKEN_ALLOWANCE" target="_blank" class="alert-link">
Expand Down
7 changes: 5 additions & 2 deletions views/zksync/lite/transactions/Deposit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,11 @@
<p>
Your current allowance for <span class="font-medium">{{ selectedToken!.symbol }}</span> is
<button type="button" class="link underline underline-offset-2" @click="setAmountToAllowance">
{{ parseTokenAmount(allowance!, selectedToken!.decimals) }}</button
>. Depositing more than that will require you to approve a new allowance.
{{ parseTokenAmount(allowance!, selectedToken!.decimals) }}
</button>
<span class="block wrap-balance">
Depositing more than that will require you to approve a new allowance.
</span>
</p>
<a :href="TOKEN_ALLOWANCE" target="_blank" class="alert-link">
Learn more
Expand Down

0 comments on commit 319fa00

Please sign in to comment.