mirror of https://github.com/waku-org/js-waku.git
Add comment
This commit is contained in:
parent
a8d922d19e
commit
b90b66c5f6
|
@ -79,6 +79,7 @@ export default function App() {
|
|||
let [stateWaku, setWaku] = useState<Waku | undefined>(undefined);
|
||||
let [nick, setNick] = useState<string>(generate());
|
||||
|
||||
// Waku: Start, process messages, send messages
|
||||
useEffect(() => {
|
||||
const handleRelayMessage = (wakuMsg: WakuMessage) => {
|
||||
console.log('Message received: ', wakuMsg);
|
||||
|
|
Loading…
Reference in New Issue