Remove extra line

This commit is contained in:
Franck Royer 2021-10-05 11:14:56 +11:00
parent 4ae819357f
commit 92762deda2
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 2 additions and 3 deletions

View File

@ -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`.
`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
const processMessages = (retrievedMessages) => {