feat: add indexedDb cache system
This commit is contained in:
parent
6808012fa4
commit
d36d890dad
@ -9,8 +9,12 @@ import { SnortContext } from "@snort/system-react";
|
|||||||
import { ProfilePage } from "./page/profile";
|
import { ProfilePage } from "./page/profile";
|
||||||
import { NewPage } from "./page/new";
|
import { NewPage } from "./page/new";
|
||||||
import { TorrentPage } from "./page/torrent";
|
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 = [
|
const Routes = [
|
||||||
{
|
{
|
||||||
element: <Layout />,
|
element: <Layout />,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user