Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
fix: function typo in example (closing bracket) (#3560)
Browse files Browse the repository at this point in the history
  • Loading branch information
javaskript authored Feb 19, 2021
1 parent d05a084 commit 27e31ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/browser-script-tag/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h2>Some suggestions</h2>

<code style="display:block; white-space:pre-wrap; background-color:#d7d6d6">
async function addFile () {
const { cid } = await node.add('Hello world!'))
const { cid } = await node.add('Hello world!')
console.log('successfully stored', cid)
}

Expand Down

0 comments on commit 27e31ad

Please sign in to comment.