From 540e6d9a55b7fb4b3bc6a2d71edd6ed4a874e38e Mon Sep 17 00:00:00 2001 From: neokry Date: Thu, 6 Jul 2023 10:41:18 +0800 Subject: [PATCH] Fix ethereum chain slug --- apps/web/.env | 2 +- apps/web/src/constants/defaultChains.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/.env b/apps/web/.env index dab1da861..42056ac78 100644 --- a/apps/web/.env +++ b/apps/web/.env @@ -4,4 +4,4 @@ NEXT_PUBLIC_UPLOAD_API=https://upload-api.zora.co NEXT_PUBLIC_IPFS_GATEWAY=https://ipfs.decentralized-content.com NEXT_PUBLIC_CHAIN_ID=5 -NEXT_PUBLIC_NETWORK_TYPE=testnet +NEXT_PUBLIC_NETWORK_TYPE=mainnet diff --git a/apps/web/src/constants/defaultChains.ts b/apps/web/src/constants/defaultChains.ts index c557a3a4d..b08134742 100644 --- a/apps/web/src/constants/defaultChains.ts +++ b/apps/web/src/constants/defaultChains.ts @@ -3,7 +3,7 @@ import { baseGoerli, goerli, mainnet, optimismGoerli } from 'wagmi/chains' import { CHAIN_ID, Chain } from 'src/typings' const MAINNET_CHAINS: Chain[] = [ - { ...mainnet, id: CHAIN_ID.ETHEREUM, slug: 'eth', icon: '/chains/ethereum.svg' }, + { ...mainnet, id: CHAIN_ID.ETHEREUM, slug: 'ethereum', icon: '/chains/ethereum.svg' }, ] const TESTNET_CHAINS: Chain[] = [