diff --git a/components/transaction/EthereumTransactionFooter.vue b/components/transaction/EthereumTransactionFooter.vue
index 687e276f8..66c013fd3 100644
--- a/components/transaction/EthereumTransactionFooter.vue
+++ b/components/transaction/EthereumTransactionFooter.vue
@@ -63,7 +63,9 @@
- If you're using the Binance Web3 Wallet, please update it to the newest version.
+ If you're using the Binance Web3 Wallet, please update it to the newest version.
@@ -126,8 +128,8 @@ const getNetworkInfo = () => {
return props.transaction ? newNetwork ?? primaryNetwork : obj;
} else {
let obj = zkSyncNetworks.find(
- (item) => item.key && item.key.toLowerCase() === (props.transaction?.token?.networkKey || 'primary').toLowerCase()
- )
+ (item) => item.key && item.key.toLowerCase() === (props.transaction?.token?.networkKey || "primary").toLowerCase()
+ );
const objs = { l1Network: { id: l1Network.value?.id } };
return props.transaction ? obj ?? primaryNetwork : objs;
}
@@ -146,7 +148,7 @@ const isGateWalletUnsupportedChain = computed(() => {
const buttonStep = computed(() => {
console.log("buttonStep getNetworkInfo().l1Network?.id", getNetworkInfo().l1Network?.id);
console.log("buttonStep network.value.chain?.id", network.value.chain?.id);
- if (!account.value.address || isConnectingWallet.value) {
+ if (!account.value.address) {
return "connect";
} else if (!(network.value.chain?.id === getNetworkInfo().l1Network?.id)) {
return "network";
diff --git a/components/transaction/TransactionFooter.vue b/components/transaction/TransactionFooter.vue
index 1110a3ebf..3253feb43 100644
--- a/components/transaction/TransactionFooter.vue
+++ b/components/transaction/TransactionFooter.vue
@@ -21,7 +21,8 @@
- If you're using the Binance Web3 Wallet, please update it to the newest version.
+ If you're using the Binance Web3 Wallet, please update it to the newest version.
@@ -68,7 +71,7 @@ const { isCorrectNetworkSet, switchingNetworkInProgress, switchingNetworkError }
const { eraNetwork } = storeToRefs(useZkSyncProviderStore());
const buttonStep = computed(() => {
- if (!account.value.address || isConnectingWallet.value) {
+ if (!account.value.address) {
return "connect";
} else if (!isCorrectNetworkSet.value) {
return "network";
diff --git a/layouts/default.vue b/layouts/default.vue
index d5f464e7a..e90c4af84 100644
--- a/layouts/default.vue
+++ b/layouts/default.vue
@@ -15,7 +15,14 @@
-
+