blowater/app/UI/relay-switch-list.test.tsx
BlowaterNostr e86101ae7f
5.0.0: Redesign & Rearchitecture (#380)
* remove nip-07 extension sign-in temporarily
* bring kind-1 back!
* separated relay views
2024-03-15 21:44:17 +08:00

14 lines
464 B
TypeScript

/** @jsx h */
import { h, render } from "https://esm.sh/preact@10.17.1";
import { RelaySwitchList } from "./relay-switch-list.tsx";
import { testEventBus } from "./_setup.test.ts";
import { ConnectionPool } from "../../libs/nostr.ts/relay-pool.ts";
const pool = new ConnectionPool();
pool.addRelayURLs(["relay.blowater.app", "nos.lol", "relay.damus.io", "nostr.wine"]);
render(
<RelaySwitchList emit={testEventBus.emit} pool={pool} />,
document.body,
);