Skip to content
This repository was archived by the owner on Dec 26, 2023. It is now read-only.

Commit 4b4309f

Browse files
committed
Be confident and remove env fallback
1 parent e3f824a commit 4b4309f

File tree

1 file changed

+8
-14
lines changed

1 file changed

+8
-14
lines changed

frontend/src/utils/DeveloperDaoConstants.ts

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,23 @@
11
export const DEVELOPER_DAO_CONTRACT =
2-
process.env.NEXT_PUBLIC_DEVELOPER_DAO_CONTRACT ||
3-
'0xbf114c4cbb4e70e6098589a918c84292cb40602a';
2+
process.env.NEXT_PUBLIC_DEVELOPER_DAO_CONTRACT;
43
export const DEVELOPER_DAO_CONTRACT_NETWORK =
5-
process.env.NEXT_PUBLIC_DEVELOPER_DAO_CONTRACT_NETWORK || 'rinkeby';
4+
process.env.NEXT_PUBLIC_DEVELOPER_DAO_CONTRACT_NETWORK;
65
export const DEVELOPER_DAO_CONTRACT_NETWORK_PROVIDER =
7-
process.env.NEXT_PUBLIC_DEVELOPER_DAO_CONTRACT_NETWORK || 'rinkeby';
8-
export const NETWORK_ID = process.env.NEXT_PUBLIC_NETWORK_ID || 4;
6+
process.env.NEXT_PUBLIC_DEVELOPER_DAO_CONTRACT_NETWORK;
7+
export const NETWORK_ID = process.env.NEXT_PUBLIC_NETWORK_ID;
98
export const DEVELOPER_DAO_WEBSITE = 'https://www.developerdao.com';
109
export const OPENSEA_DIRECT_LINK_PREFIX =
11-
process.env.NEXT_PUBLIC_OPENSEA_DIRECT_LINK_PREFIX ||
12-
`https://testnets.opensea.io/assets/${DEVELOPER_DAO_CONTRACT}`;
10+
process.env.NEXT_PUBLIC_OPENSEA_DIRECT_LINK_PREFIX;
1311
export const OPENSEA_COLLECTION_LINK =
14-
process.env.NEXT_PUBLIC_OPENSEA_COLLECTION_LINK ||
15-
`https://testnets.opensea.io/collection/devs-for-revolution-kexfxbcvp8`;
12+
process.env.NEXT_PUBLIC_OPENSEA_COLLECTION_LINK;
1613
export const ETHER_SCAN_LINK_PREFIX =
17-
process.env.NEXT_PUBLIC_ETHER_SCAN_LINK_PREFIX ||
18-
'https://rinkeby.etherscan.io/address';
14+
process.env.NEXT_PUBLIC_ETHER_SCAN_LINK_PREFIX;
1915

2016
export const SITE_URL = 'https://developerdao.com';
2117
export const ERROR_CODE_TX_REJECTED_BY_USER = 4001;
2218

2319
export const TOKEN_FINDER_URL = 'https://developerdao.vercel.app/';
24-
export const ETHERSCAN_TX_URL =
25-
process.env.NEXT_PUBLIC_ETHERSCAN_TX_URL ||
26-
'https://rinkeby.etherscan.io/tx/';
20+
export const ETHERSCAN_TX_URL = process.env.NEXT_PUBLIC_ETHERSCAN_TX_URL;
2721

2822
export const INFURA_ID = process.env.NEXT_PUBLIC_INFURA_ID;
2923

0 commit comments

Comments
 (0)