Skip to content

Commit

Permalink
fix failing build
Browse files Browse the repository at this point in the history
  • Loading branch information
subject026 committed Oct 10, 2024
1 parent e902b38 commit fdc8171
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/chainConfig.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
import { Hex } from "viem";

import DISTRIBUTOR_DEPLOYED from "../contracts/out/DISTRIBUTOR.json";
import BUTTERED_BREAD_DEPLOYED from "../contracts/out/BUTTERED_BREAD.json";
let DISTRIBUTOR_DEPLOYED = { ADDRESS: "0x" };
let BUTTERED_BREAD_DEPLOYED = { ADDRESS: "0x" };

if (process.env.NODE_ENV === "development") {
DISTRIBUTOR_DEPLOYED = require("../contracts/out/DISTRIBUTOR.json");
BUTTERED_BREAD_DEPLOYED = require("../contracts/out/BUTTERED_BREAD.json");
}

interface IToken {
address: Hex;
Expand Down

0 comments on commit fdc8171

Please sign in to comment.