From 14dbcd9e0158d785c9a94fa459dd241ba0877074 Mon Sep 17 00:00:00 2001 From: sarahschwartz <58856580+sarahschwartz@users.noreply.github.com> Date: Thu, 11 Apr 2024 18:15:36 -0600 Subject: [PATCH] test --- frontend/src/App.tsx | 3 +-- frontend/src/constants.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 91fb59e..68d5ae7 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -87,8 +87,7 @@ function App() { return null; }, [wallet, burnerWallet]); - console.log("1", process.env.NEXT_PUBLIC_VERCEL_ENV) - console.log("2", process.env.VERCEL_ENV) + console.log("2", process.env) return ( diff --git a/frontend/src/constants.ts b/frontend/src/constants.ts index 637506e..256b021 100644 --- a/frontend/src/constants.ts +++ b/frontend/src/constants.ts @@ -8,7 +8,7 @@ import contractIds from './sway-api/contract-ids.json'; export const FUEL_PROVIDER_URL = 'https://beta-5.fuel.network/graphql'; export const VERCEL_ENV = - process.env.VERCEL_ENV || process.env.NEXT_PUBLIC_VERCEL_ENV || 'development'; + process.env.NODE_ENV || 'development'; export const CONTRACT_ID = VERCEL_ENV === 'development' ? contractIds.contract :