mirror of https://github.com/waku-org/js-waku.git
Enable spelling for guides and fix it
This commit is contained in:
parent
b4dcb73e30
commit
5076fa553c
|
@ -70,8 +70,10 @@
|
|||
"statusim",
|
||||
"submodule",
|
||||
"submodules",
|
||||
"supercrypto",
|
||||
"transpiled",
|
||||
"typedoc",
|
||||
"unmount",
|
||||
"unmounts",
|
||||
"untracked",
|
||||
"upgrader",
|
||||
|
|
|
@ -270,8 +270,8 @@ function App() {
|
|||
time.setTime(timestamp);
|
||||
const message = { text, timestamp: time };
|
||||
|
||||
setMessages((currMessages) => {
|
||||
return [message].concat(currMessages);
|
||||
setMessages((messages) => {
|
||||
return [message].concat(messages);
|
||||
});
|
||||
}, []);
|
||||
|
||||
|
|
|
@ -141,7 +141,7 @@ waku.store
|
|||
```
|
||||
|
||||
Note that `WakuStore.queryHistory` select an available store node for you.
|
||||
However, it can only query connected node, which is why the bootstraping is necessary.
|
||||
However, it can only query connected node, which is why the bootstrapping is necessary.
|
||||
|
||||
The call can throw an error if no store node is available.
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
"test": "run-s build test:*",
|
||||
"test:lint": "eslint src --ext .ts",
|
||||
"test:prettier": "prettier \"src/**/*.ts\" \"./*.json\" \"*.conf.js\" --list-different",
|
||||
"test:spelling": "cspell \"{README.md,.github/*.md,src/**/*.ts}\"",
|
||||
"test:spelling": "cspell \"{README.md,.github/*.md,guides/*.md,src/**/*.ts}\"",
|
||||
"test:unit": "nyc --silent mocha",
|
||||
"test:karma": "karma start",
|
||||
"examples:test": "run-s examples:pretest; for d in examples/*; do (cd $d; npm test;); done",
|
||||
|
|
Loading…
Reference in New Issue