Skip to content

Commit

Permalink
fix injected chain id in config
Browse files Browse the repository at this point in the history
  • Loading branch information
Jipperism committed Nov 6, 2023
1 parent 14f29d3 commit c123b62
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ export const DOMAIN = requireEnv(

export const isProduction = DOMAIN === "hypercerts.org";

export const DEFAULT_CHAIN_ID = process.env.NEXT_PUBLIC_DEFAULT_CHAIN_ID;
export const DEFAULT_CHAIN_ID = process.env.NEXT_PUBLIC_DEFAULT_CHAIN_ID
? parseInt(process.env.NEXT_PUBLIC_DEFAULT_CHAIN_ID, 10)
: undefined;

export const CONTRACT_ADDRESS = process.env.NEXT_PUBLIC_CONTRACT_ADDRESS;

Expand Down

0 comments on commit c123b62

Please sign in to comment.