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 b1bffc6 commit 5a2ed6e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ function App() {
return null;
}, [wallet, burnerWallet]);

console.log("1", process.env.NEXT_PUBLIC_VERCEL_ENV)
console.log("2", process.env.VERCEL_ENV)

return (
<Box css={styles.root}>
{isConnected || (contract && burnerWallet) ? (
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ export const VERCEL_ENV =
process.env.VERCEL_ENV || process.env.NEXT_PUBLIC_VERCEL_ENV || 'development';


export const CONTRACT_ID = VERCEL_ENV === 'production' || VERCEL_ENV === 'preview'
? '0xd2a93abef5c3f45f48bb9f0736ccfda4c3f32c9c57fc307ab9363ef7712f305f' : contractIds.contract;
export const CONTRACT_ID = VERCEL_ENV === 'development' ? contractIds.contract :
'0xd2a93abef5c3f45f48bb9f0736ccfda4c3f32c9c57fc307ab9363ef7712f305f';

export const BASE_ASSET_ID =
'0x0000000000000000000000000000000000000000000000000000000000000000';
Expand Down

0 comments on commit 5a2ed6e

Please sign in to comment.