From 5ef08810eec05f68001fc34f39d772edb97c553f Mon Sep 17 00:00:00 2001 From: Ignacio Date: Tue, 27 Feb 2024 14:40:05 +0800 Subject: [PATCH] feat: setup local xion dashboard --- src/features/staking/lib/constants.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/features/staking/lib/constants.ts b/src/features/staking/lib/constants.ts index 410713c..d0715b5 100644 --- a/src/features/staking/lib/constants.ts +++ b/src/features/staking/lib/constants.ts @@ -2,7 +2,7 @@ import { testnetChainInfo } from "@burnt-labs/constants"; export const { chainId } = testnetChainInfo; -export const dashboardUrl = "http://localhost:3000"; -// export const dashboardUrl = undefined; +export const dashboardUrl = + process.env.NODE_ENV === "production" ? undefined : "http://localhost:3000"; export const rpcEndpoint = "https://rpc.xion-testnet-1.burnt.com:443";