mirror of
https://github.com/logos-messaging/lab.waku.org.git
synced 2026-02-13 10:23:15 +00:00
chore: update waku deps to latest chore: remove relay chats, move all examples to experimental, add notes example fix: notes example: use nightly waku deps and set pubsub topic in node/enc/dec
23 lines
640 B
TypeScript
23 lines
640 B
TypeScript
import React from "react";
|
|
import ReactDOM from "react-dom";
|
|
import { LightNodeProvider, ContentPairProvider } from "@waku/react";
|
|
import "./index.css";
|
|
|
|
import App from "./App";
|
|
import { CONTENT_TOPIC } from "./config";
|
|
import { Protocols } from "@waku/interfaces";
|
|
|
|
ReactDOM.render(
|
|
<React.StrictMode>
|
|
<LightNodeProvider
|
|
options={{ defaultBootstrap: true }}
|
|
protocols={[Protocols.Store, Protocols.Filter, Protocols.LightPush]}
|
|
>
|
|
<ContentPairProvider contentTopic={CONTENT_TOPIC}>
|
|
<App />
|
|
</ContentPairProvider>
|
|
</LightNodeProvider>
|
|
</React.StrictMode>,
|
|
document.getElementById("root")
|
|
);
|