Skip to content

Commit 4da7e4a

Browse files
authored
Remove unused greet argument.
1 parent 2b67622 commit 4da7e4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
1. `cd hello-wasm`
77
1. Run `wasm-pack build --target web`.
88
1. This tool generates files in a `pkg` dir
9-
1. Import it: `import init, { greet } from "./pkg/hello_wasm.js"`, initialize it: `await init()`, and then use it: `greet("WebAssembly")`
9+
1. Import it: `import init, { greet } from "./pkg/hello_wasm.js"`, initialize it: `await init()`, and then use it: `greet()`
1010
1. To publish to npm, run `wasm-pack publish`. You may need to login to the
1111
registry you want to publish to. You can login using `wasm-pack login`.
1212

0 commit comments

Comments
 (0)