Skip to content

Commit 301a7ec

Browse files
committed
rearrange folders for better perusability
1 parent 0f38633 commit 301a7ec

21 files changed

+6
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
build
21
node_modules
32
.cache
43
dist
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

example/app-ethers/useCounterContract.js app-ethers/useCounterContract.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useState, useRef, useEffect } from "react";
22
import { ethers } from "ethers";
33

4-
import artifact from "../build/contracts/Counter.json";
4+
import artifact from "../smart-contracts/build/contracts/Counter.json";
55

66
export default function useCounterContract() {
77
const contract = useRef();

app-web3js/.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
.cache
3+
dist
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

example/app-web3js/useCounterContract.js app-web3js/useCounterContract.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useState, useRef, useEffect } from "react";
22
import Web3 from "web3";
33

4-
import artifact from "../build/contracts/Counter.json";
4+
import artifact from "../smart-contracts/build/contracts/Counter.json";
55

66
export default function useCounterContract() {
77
const contract = useRef();

smart-contracts/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
build
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)