mirror of
https://github.com/BlowaterNostr/blowater.git
synced 2024-10-18 07:33:22 +00:00
55d6735e7b
and remove submodules
17 lines
483 B
TypeScript
17 lines
483 B
TypeScript
import { h, render } from "preact";
|
|
import { Search } from "./search.tsx";
|
|
import { testEventBus } from "./_setup.test.ts";
|
|
import { DexieDatabase, NewIndexedDB } from "./dexie-db.ts";
|
|
import { Database_View } from "../database.ts";
|
|
|
|
const indexed_db = NewIndexedDB() as DexieDatabase;
|
|
|
|
render(
|
|
<Search
|
|
profileGetter={await Database_View.New(indexed_db, indexed_db, indexed_db)}
|
|
emit={testEventBus.emit}
|
|
placeholder="search"
|
|
/>,
|
|
document.body,
|
|
);
|