diff --git a/components/db.ts b/components/db.ts index a73e444..3520db3 100644 --- a/components/db.ts +++ b/components/db.ts @@ -61,23 +61,6 @@ export class DexieStarfocus extends Dexie { databaseUrl: 'https://zy0myinc2.dexie.cloud', requireAuth: false, }) - this.on.populate.subscribe(() => { - this.on.ready.subscribe((db: DexieStarfocus) => { - db.lists.put({ - type: '#important', - order: [], - }) - }, false) - }) - this.on.ready.subscribe(async (db: DexieStarfocus) => { - const importantList = await db.lists.get('#important') - if (!importantList) { - db.lists.put({ - type: '#important', - order: [], - }) - } - }, false) } }