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",
|
"statusim",
|
||||||
"submodule",
|
"submodule",
|
||||||
"submodules",
|
"submodules",
|
||||||
|
"supercrypto",
|
||||||
"transpiled",
|
"transpiled",
|
||||||
"typedoc",
|
"typedoc",
|
||||||
|
"unmount",
|
||||||
"unmounts",
|
"unmounts",
|
||||||
"untracked",
|
"untracked",
|
||||||
"upgrader",
|
"upgrader",
|
||||||
|
|
|
@ -270,8 +270,8 @@ function App() {
|
||||||
time.setTime(timestamp);
|
time.setTime(timestamp);
|
||||||
const message = { text, timestamp: time };
|
const message = { text, timestamp: time };
|
||||||
|
|
||||||
setMessages((currMessages) => {
|
setMessages((messages) => {
|
||||||
return [message].concat(currMessages);
|
return [message].concat(messages);
|
||||||
});
|
});
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
|
|
@ -141,7 +141,7 @@ waku.store
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that `WakuStore.queryHistory` select an available store node for you.
|
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.
|
The call can throw an error if no store node is available.
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
"test": "run-s build test:*",
|
"test": "run-s build test:*",
|
||||||
"test:lint": "eslint src --ext .ts",
|
"test:lint": "eslint src --ext .ts",
|
||||||
"test:prettier": "prettier \"src/**/*.ts\" \"./*.json\" \"*.conf.js\" --list-different",
|
"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:unit": "nyc --silent mocha",
|
||||||
"test:karma": "karma start",
|
"test:karma": "karma start",
|
||||||
"examples:test": "run-s examples:pretest; for d in examples/*; do (cd $d; npm test;); done",
|
"examples:test": "run-s examples:pretest; for d in examples/*; do (cd $d; npm test;); done",
|
||||||
|
|
Loading…
Reference in New Issue