Skip to content

Commit

Permalink
hide op
Browse files Browse the repository at this point in the history
  • Loading branch information
MickWang committed Aug 21, 2024
1 parent 0839f20 commit ea43ab6
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
27 changes: 27 additions & 0 deletions views/transactions/Deposit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,30 @@
</CommonHeightTransition>
<!-- MNT and WETH Tips end-->

<!-- op disable Tips-->
<CommonHeightTransition v-if="step === 'form'" :opened="selectedNetwork.key === 'optimism'">
<CommonCardWithLineButtons class="mt-4">
<DestinationItem as="div">
<template #underline>
Deposits from Optimism are temporarily paused due to the upcoming Optimism Network
<a
class="text-[#1755f4] underline underline-offset-2 cursor-pointer"
href="https://gov.optimism.io/t/upgrade-proposal-10-granite-network-upgrade/8733"
target="_blank"
>upgrade</a
>. They will resume once the upgrade is complete.Deposits from Optimism are temporarily paused due to
the upcoming Optimism Network upgrade. They will resume once the upgrade is complete.
</template>
<template #image>
<div class="aspect-square h-full w-full rounded-full bg-warning-400 p-3 text-black">
<LockClosedIcon aria-hidden="true" />
</div>
</template>
</DestinationItem>
</CommonCardWithLineButtons>
</CommonHeightTransition>
<!-- op disableTips end-->

<CommonHeightTransition
v-if="step === 'form'"
:opened="(!enoughAllowance && !continueButtonDisabled) || !!setAllowanceReceipt"
Expand Down Expand Up @@ -821,6 +845,9 @@ watch(
);
const continueButtonDisabled = computed(() => {
if (selectedNetwork.value.key === "optimism") {
return true;
}
if (
!transaction.value ||
!enoughBalanceToCoverFee.value ||
Expand Down
3 changes: 1 addition & 2 deletions views/transactions/Withdraw.vue
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,7 @@
class="mb-block-padding-1/2 sm:mb-block-gap"
>
<p v-if="withdrawalManualFinalizationRequired">
You will be able to claim your withdrawal only after a maximum
{{ displayEstimateWithdrawalDelayDays }}-day withdrawal delay.
You can claim your withdrawal after a minimum delay of 8 days. On average, it takes around 8.5 days.
<!-- <a class="underline underline-offset-2" :href="ZKSYNC_WITHDRAWAL_DELAY" target="_blank">Learn more</a> -->
</p>
<p v-else>
Expand Down

0 comments on commit ea43ab6

Please sign in to comment.