mirror of
https://github.com/BlowaterNostr/blowater.git
synced 2024-10-18 15:43:20 +00:00
e86101ae7f
* remove nip-07 extension sign-in temporarily * bring kind-1 back! * separated relay views
14 lines
464 B
TypeScript
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,
|
|
);
|