From 8f55d46705644187497dca1f9eec7fa215fa383c Mon Sep 17 00:00:00 2001 From: Jay Date: Mon, 20 May 2024 14:03:25 +0800 Subject: [PATCH] Fix footer mainnet and testnet link (#724) --- src/components/footer.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/footer.tsx b/src/components/footer.tsx index 4b2dcd9e..eadc6119 100644 --- a/src/components/footer.tsx +++ b/src/components/footer.tsx @@ -9,14 +9,14 @@ export default function Footer() { setMainnetOrTestnet({ label: "Testnet", link: "https://testnet.helixbridge.app" }); } else if (window.location.hostname === "testnet.helixbridge.app") { setMainnetOrTestnet({ label: "Mainnet", link: "https://helixbridge.app" }); - } else if (window.location.hostname === "helix-stg.vercel.app") { - setMainnetOrTestnet({ label: "Testnet", link: "https://helix-stg-test.vercel.app" }); - } else if (window.location.hostname === "helix-stg-test.vercel.app") { - setMainnetOrTestnet({ label: "Mainnet", link: "https://helix-stg.vercel.app" }); - } else if (window.location.hostname === "helix-dev-main.vercel.app") { - setMainnetOrTestnet({ label: "Testnet", link: "https://helix-dev-test.vercel.app" }); - } else if (window.location.hostname === "helix-dev-test.vercel.app") { - setMainnetOrTestnet({ label: "Mainnet", link: "https://helix-dev-main.vercel.app" }); + } else if (window.location.hostname === "helix-stg-mainnet.vercel.app") { + setMainnetOrTestnet({ label: "Testnet", link: "https://helix-stg-testnet.vercel.app" }); + } else if (window.location.hostname === "helix-stg-testnet.vercel.app") { + setMainnetOrTestnet({ label: "Mainnet", link: "https://helix-stg-mainnet.vercel.app" }); + } else if (window.location.hostname === "helix-dev-mainnet.vercel.app") { + setMainnetOrTestnet({ label: "Testnet", link: "https://helix-dev-testnet.vercel.app" }); + } else if (window.location.hostname === "helix-dev-testnet.vercel.app") { + setMainnetOrTestnet({ label: "Mainnet", link: "https://helix-dev-mainnet.vercel.app" }); } }, []);