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

Commit 28e6a50

Browse files
BrianBrian
authored andcommitted
Fix Environment Variable Loading
1 parent cfeca71 commit 28e6a50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/src/components/DirectMint/DirectMint.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,13 @@ const providerOptions = {
2828
walletconnect: {
2929
package: WalletConnectProvider,
3030
options: {
31-
infuraId: process.env.INFURA_ID,
31+
infuraId: process.env.NEXT_PUBLIC_INFURA_ID,
3232
},
3333
},
3434
};
3535

3636
const DirectMint = ({ developerId }: DirectMintProps) => {
37+
console.log(process.env.NEXT_PUBLIC_INFURA_ID);
3738
const { t } = useTranslation();
3839
const [userWallet, setUserWallet] = useState('');
3940
const [tokenID, setTokenID] = useState(developerId ? developerId : '');

0 commit comments

Comments
 (0)