From 287e86f383b2bb9e7557aa84eaa492e3c7f7d7cb Mon Sep 17 00:00:00 2001 From: alter-eggo Date: Wed, 2 Aug 2023 16:44:03 +0400 Subject: [PATCH] fix: mismatch network error --- .../pages/vebal/cross-chain-boost/CheckpointGaugeModal.vue | 3 +++ .../pages/vebal/cross-chain-boost/SyncNetworkAction.vue | 3 +++ .../components/LockPreviewModal/components/LockActions.vue | 3 ++- .../components/UnlockPreviewModal/components/UnlockActions.vue | 3 ++- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/components/contextual/pages/vebal/cross-chain-boost/CheckpointGaugeModal.vue b/src/components/contextual/pages/vebal/cross-chain-boost/CheckpointGaugeModal.vue index c097ba9908..cb07b853aa 100644 --- a/src/components/contextual/pages/vebal/cross-chain-boost/CheckpointGaugeModal.vue +++ b/src/components/contextual/pages/vebal/cross-chain-boost/CheckpointGaugeModal.vue @@ -2,6 +2,7 @@ import { usePoolStaking } from '@/providers/local/pool-staking.provider'; import { useCrossChainSync } from '@/providers/cross-chain-sync.provider'; import useTransactions from '@/composables/useTransactions'; +import useWeb3 from '@/services/web3/useWeb3'; interface Props { isVisible?: boolean; @@ -16,6 +17,7 @@ const emit = defineEmits(['close', 'success']); const { poolGauges } = usePoolStaking(); const { triggerGaugeUpdate } = useCrossChainSync(); const { addTransaction } = useTransactions(); +const { isMismatchedNetwork } = useWeb3(); const showCloseBtn = ref(false); @@ -59,6 +61,7 @@ const actions = [