From 8904e6eddae748c2e9ba0ff52adf9c4e006877d1 Mon Sep 17 00:00:00 2001 From: mehditorabiv Date: Wed, 4 Dec 2024 16:46:47 +0300 Subject: [PATCH] rename --- src/configs/index.ts | 2 +- src/rainbowKitConfig.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/configs/index.ts b/src/configs/index.ts index ff2c736..2085778 100644 --- a/src/configs/index.ts +++ b/src/configs/index.ts @@ -12,5 +12,5 @@ export const conf = { PROJECT_ID: process.env.NEXT_PUBLIC_PROJECT_ID, APP_DEVELOPER_PUBLIC_ADDRESS: process.env.NEXT_PUBLIC_APP_DEVELOPER_PUBLIC_ADDRESS, - IS_MAIN_NET: process.env.NEXT_PUBLIC_IS_MAIN_NET, + IS_MAINNET: process.env.NEXT_PUBLIC_IS_MAINNET, }; diff --git a/src/rainbowKitConfig.ts b/src/rainbowKitConfig.ts index 2919ce2..1e88383 100644 --- a/src/rainbowKitConfig.ts +++ b/src/rainbowKitConfig.ts @@ -4,7 +4,7 @@ import { http } from 'wagmi'; import { conf } from './configs'; -const isProduction = conf.IS_MAIN_NET === 'true'; +const isProduction = conf.IS_MAINNET === 'true'; export const SUPPORTED_CHAINS: Chain[] = isProduction ? [arbitrum]