Skip to content

Commit

Permalink
fix: requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JackHamer09 committed Jun 27, 2023
1 parent 5bf52bd commit 110bda1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions components/common/AmountInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
type="text"
maxlength="20"
spellcheck="false"
autocomplete="false"
:style="{ width: `${inputWidth}px` }"
@keyup.enter="emit('enter')"
/>
Expand Down
6 changes: 3 additions & 3 deletions components/modal/ViewOnExplorer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ const networks = computed(() => {
return [
{
destination: destinations.value.era,
link: `${eraBlockExplorerUrl.value}/address/${account.value}`,
link: `${eraBlockExplorerUrl.value}/address/${account.value.address}`,
},
{
destination: destinations.value.zkSyncLite,
link: `${liteBlockExplorerUrl.value}/address/${account.value}`,
link: `${liteBlockExplorerUrl.value}/address/${account.value.address}`,
},
{
destination: destinations.value.ethereum,
link: `${ethereumBlockExplorerUrl.value}/address/${account.value}`,
link: `${ethereumBlockExplorerUrl.value}/address/${account.value.address}`,
},
];
});
Expand Down
9 changes: 6 additions & 3 deletions views/zksync/era/transactions/Deposit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,12 @@
>
<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.
<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>
</p>
<a :href="TOKEN_ALLOWANCE" target="_blank" class="alert-link">
Learn more
Expand Down

0 comments on commit 110bda1

Please sign in to comment.