Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
shafu0x committed Jan 1, 2023
1 parent 7d95c37 commit b16aae2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Web3 from "web3";
import Contract from "web3-eth-contract";
import dNFT_ABI from "./abi/dNFT.json" assert { type: "json" };
import * as dotenv from "dotenv";
import sleep from "./utils/sleep";
import { sleep } from "./utils/sleep.js";
dotenv.config();

const SYNC_LOG_SIGNATURE =
Expand Down
2 changes: 1 addition & 1 deletion utils/sleep.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export default async function sleep(ms) {
export async function sleep(ms) {
await new Promise((resolve) => setTimeout(resolve, ms));
}

0 comments on commit b16aae2

Please sign in to comment.