mirror of
https://github.com/logos-messaging/examples.waku.org.git
synced 2026-01-04 05:43:07 +00:00
revert
This commit is contained in:
parent
d779f7365d
commit
0933db1a61
@ -33,10 +33,7 @@ function App() {
|
|||||||
setWaku(waku);
|
setWaku(waku);
|
||||||
await waku.start();
|
await waku.start();
|
||||||
setWakuStatus("Connecting");
|
setWakuStatus("Connecting");
|
||||||
await waku.dial(
|
await waitForRemotePeer(waku, ["relay"]);
|
||||||
"/ip4/0.0.0.0/tcp/8000/ws/p2p/16Uiu2HAmSC4xN3R831RmRiHfWFnyQi4A8kzQEoYS36YLWtSLsL4x"
|
|
||||||
);
|
|
||||||
// await waitForRemotePeer(waku, ["relay"]);
|
|
||||||
setWakuStatus("Ready");
|
setWakuStatus("Ready");
|
||||||
})();
|
})();
|
||||||
}, [waku, wakuStatus]);
|
}, [waku, wakuStatus]);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user