diff --git a/app.vue b/app.vue index 3768b4615..0951623b7 100644 --- a/app.vue +++ b/app.vue @@ -8,8 +8,11 @@ import { watch } from "vue"; import { useRoute } from "vue-router"; +import { useZkSyncWithdrawalsStore } from "@/store/zksync/withdrawals"; import { trackPage } from "@/utils/analytics"; +useZkSyncWithdrawalsStore().updateWithdrawalsIfPossible(); // init store to update withdrawals + const route = useRoute(); watch( () => route.path, diff --git a/components/animations/TransactionProgress.vue b/components/animations/TransactionProgress.vue index c3c5f44d3..6271dff35 100644 --- a/components/animations/TransactionProgress.vue +++ b/components/animations/TransactionProgress.vue @@ -1,5 +1,8 @@ + @@ -106,6 +114,7 @@ import type { ZkSyncNetwork } from "@/data/networks"; import { useRoute } from "#imports"; import { useNetworkStore } from "@/store/network"; +import { useZkSyncWithdrawalsStore } from "@/store/zksync/withdrawals"; import { getNetworkUrl } from "@/utils/helpers"; import { TransitionSlideOutToLeft, TransitionSlideOutToRight } from "@/utils/transitions"; @@ -122,6 +131,8 @@ const emit = defineEmits<{ const route = useRoute(); +const { withdrawalsAvailableForClaiming } = storeToRefs(useZkSyncWithdrawalsStore()); + const TabsTransition = computed(() => openedTab.value === "main" ? TransitionSlideOutToRight : TransitionSlideOutToLeft ); diff --git a/components/transaction/EthereumTransactionFooter.vue b/components/transaction/EthereumTransactionFooter.vue index d588fe74f..02af335f2 100644 --- a/components/transaction/EthereumTransactionFooter.vue +++ b/components/transaction/EthereumTransactionFooter.vue @@ -27,10 +27,14 @@ class="w-full" @click="onboardStore.setCorrectNetwork" > - Change wallet network to {{ l1Network.name }} + + Change wallet network to {{ l1Network.name }} + - Change network manually to {{ l1Network.name }} in your {{ walletName }} wallet + + Change network manually to {{ l1Network.name }} in your {{ walletName }} wallet +