mirror of
https://github.com/waku-org/js-waku.git
synced 2025-01-27 04:35:33 +00:00
Remove extra line
This commit is contained in:
parent
4ae819357f
commit
92762deda2
@ -198,10 +198,9 @@ function App() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, define `processMessages` to decode and then store messages in a React state.
|
Then, define `processMessages` to decode and then store messages in the React state.
|
||||||
You will pass `processMessages` as a `callback` option to `WakuStore.queryHistory`.
|
You will pass `processMessages` as a `callback` option to `WakuStore.queryHistory`.
|
||||||
`processMessages` will be called each time a page is received from the Waku Store.
|
`processMessages` will be called each time a page is received from the Waku Store.
|
||||||
|
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const processMessages = (retrievedMessages) => {
|
const processMessages = (retrievedMessages) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user