mirror of
https://github.com/BlowaterNostr/blowater.git
synced 2024-10-18 15:43:20 +00:00
20 lines
423 B
TypeScript
20 lines
423 B
TypeScript
/** @jsx h */
|
|
import { h, render } from "https://esm.sh/preact@10.17.1";
|
|
import { testEventBus } from "./_setup.test.ts";
|
|
import { EditGroup } from "./edit-group.tsx";
|
|
|
|
render(
|
|
<EditGroup
|
|
emit={testEventBus.emit}
|
|
profileData={{
|
|
name: "afdsafd",
|
|
picture: "Adsfsafd",
|
|
}}
|
|
/>,
|
|
document.body,
|
|
);
|
|
|
|
for await (const e of testEventBus.onChange()) {
|
|
console.log(e);
|
|
}
|