diff --git a/src/components/bridge/ccip/CcipBridge.vue b/src/components/bridge/ccip/CcipBridge.vue index 1c6d2c616..9a61c7248 100644 --- a/src/components/bridge/ccip/CcipBridge.vue +++ b/src/components/bridge/ccip/CcipBridge.vue @@ -135,9 +135,14 @@ -
+
- {{ $t('bridge.underMaintenance') }} + {{ $t('bridge.warningInvalidWallet') }} + +
+
+ + {{ $t('bridge.ccipUnderMaintenance') }}
@@ -255,7 +260,7 @@ export default defineComponent({ }, setup(props) { const { currentAccount } = useAccount(); - const { nativeTokenSymbol, isShibuyaEvm, isAstarEvm } = useNetworkInfo(); + const { nativeTokenSymbol, isShibuyaEvm, isAstarEvm, isH160 } = useNetworkInfo(); const store = useStore(); const isHandling = ref(false); const isLoading = computed(() => store.getters['general/isLoading']); @@ -350,6 +355,7 @@ export default defineComponent({ ccipBridgeTime, isApproveButtonDisabled, isBridgeButtonDisabled, + isH160, truncate, bridge, approve, diff --git a/src/i18n/en-US/index.ts b/src/i18n/en-US/index.ts index 55b8eb78e..d352627a0 100644 --- a/src/i18n/en-US/index.ts +++ b/src/i18n/en-US/index.ts @@ -1133,8 +1133,11 @@ export default { warningHighTraffic: 'High bridge traffic may delay withdrawal transactions up to 5 hours. We appreciate your patience.', warningHighTrafficMore: '(read more)', + warningInvalidWallet: 'Please connect your EVM wallet to use the bridge', underMaintenance: 'Astar zkEVM is currently under the maintenance. We apologize for any inconvenience.', + ccipUnderMaintenance: + 'CCIP bridge is currently under the maintenance. We apologize for any inconvenience.', modals: { highTraffic: { text1: