feat(playground): update ecosystem for prod (#4731)

This commit is contained in:
Joaquim Verges
2024-09-21 10:52:32 +12:00
committed by GitHub
parent 07d191bd8b
commit f8e69989a3
@@ -4,12 +4,14 @@ import { ecosystemWallet } from "thirdweb/wallets";
import { StyledConnectEmbed } from "../styled-connect-embed";
const getEcosystem = () => {
if (process.env.NEXT_PUBLIC_IN_APP_WALLET_URL?.endsWith(".thirdweb.com")) {
// prod ecosystem
return "ecosystem.new-age";
if (
process.env.NEXT_PUBLIC_IN_APP_WALLET_URL?.endsWith(".thirdweb-dev.com")
) {
// dev ecosystem
return "ecosystem.bonfire-development";
}
// dev ecosystem
return "ecosystem.bonfire-development";
// prod ecosystem
return "ecosystem.new-age";
};
export function EcosystemConnectEmbed(