From 9aff61f299a4f41d763b99eb960d559fd1d623f8 Mon Sep 17 00:00:00 2001 From: JayJay1024 Date: Tue, 16 Apr 2024 13:23:15 +0800 Subject: [PATCH] Enable darwinia<>crab --- src/components/transfer-v2.tsx | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/components/transfer-v2.tsx b/src/components/transfer-v2.tsx index 81a10ecb..2e5ee2ed 100644 --- a/src/components/transfer-v2.tsx +++ b/src/components/transfer-v2.tsx @@ -221,20 +221,20 @@ function Component() { ]); const alert = useMemo(() => { - if ( - (sourceChain?.network === "darwinia-dvm" && targetChain?.network === "crab-dvm") || - (sourceChain?.network === "crab-dvm" && targetChain?.network === "darwinia-dvm") - ) { - return ( -
- - The bridge between Darwinia and Crab is undergoing maintenance and will reopen once upgrades are completed. - -
- ); - } + // if ( + // (sourceChain?.network === "darwinia-dvm" && targetChain?.network === "crab-dvm") || + // (sourceChain?.network === "crab-dvm" && targetChain?.network === "darwinia-dvm") + // ) { + // return ( + //
+ // + // The bridge between Darwinia and Crab is undergoing maintenance and will reopen once upgrades are completed. + // + //
+ // ); + // } return null; - }, [sourceChain.network, targetChain.network]); + }, []); return ( <>