mirror of
https://github.com/waku-org/js-waku.git
synced 2025-02-04 08:34:57 +00:00
Always trigger store query at connection
If no new messages are received, the rendering does not change as dupe messages are filtered out.
This commit is contained in:
parent
2c72c6d388
commit
836761143b
@ -57,7 +57,7 @@ export default function App() {
|
||||
} else {
|
||||
stateWaku.libp2p.pubsub.on(RelayDefaultTopic, handleNewMessages);
|
||||
|
||||
stateWaku.libp2p.peerStore.once(
|
||||
stateWaku.libp2p.peerStore.on(
|
||||
'change:protocols',
|
||||
handleProtocolChange.bind({}, stateWaku)
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user