feat: add indexedDb cache system

This commit is contained in:
Kieran 2023-11-27 14:32:39 +00:00
parent 6808012fa4
commit d36d890dad
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -9,8 +9,12 @@ import { SnortContext } from "@snort/system-react";
import { ProfilePage } from "./page/profile";
import { NewPage } from "./page/new";
import { TorrentPage } from "./page/torrent";
import { SnortSystemDb } from "@snort/system-web";
const System = new NostrSystem({});
const db = new SnortSystemDb();
const System = new NostrSystem({
db
});
const Routes = [
{
element: <Layout />,