Skip to content

Commit 8143459

Browse files
committed
move code example files to public folder
1 parent 2b4b6ec commit 8143459

File tree

5 files changed

+3
-5
lines changed

5 files changed

+3
-5
lines changed

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
"coverage/",
9191
"storybook-static/",
9292
"**/*.d.ts",
93-
"src/intl/"
93+
"src/intl/",
94+
"public/code-examples/"
9495
]
9596
}

src/data/CreateWallet.ts renamed to public/code-examples/CreateWallet.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const createWallet = `const ethers = require("ethers")
1+
const ethers = require("ethers")
22

33
// Create a wallet instance from a mnemonic...
44
const mnemonic =
@@ -46,6 +46,3 @@ wallet.sendTransaction(tx)
4646
// https://github.com/ethers-io/ethers.js/blob/master/docs/v5/api/signer/README.md#methods
4747
// Content is licensed under the Creative Commons License:
4848
// https://choosealicense.com/licenses/cc-by-4.0/
49-
`
50-
51-
export default createWallet
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)