Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahschwartz committed Apr 12, 2024
1 parent 5a2ed6e commit 14dbcd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<Box css={styles.root}>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 :
Expand Down

0 comments on commit 14dbcd9

Please sign in to comment.