Skip to content

Commit

Permalink
Fix footer mainnet and testnet link (#724)
Browse files Browse the repository at this point in the history
  • Loading branch information
JayJay1024 authored May 20, 2024
1 parent 800126d commit 8f55d46
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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" });
}
}, []);

Expand Down

0 comments on commit 8f55d46

Please sign in to comment.