diff --git a/packages/app/src/System/NoteCollection.ts b/packages/app/src/System/NoteCollection.ts index 65a1d1c7a..479990709 100644 --- a/packages/app/src/System/NoteCollection.ts +++ b/packages/app/src/System/NoteCollection.ts @@ -14,7 +14,7 @@ export const EmptySnapshot = { // empty }, loading: () => true, - add: (ev: Readonly | Readonly>) => { + add: () => { // empty }, } as StoreSnapshot; @@ -121,29 +121,6 @@ export abstract class HookedNoteStore i } } -export type Node = Map>; -export type NodeBranch = TaggedRawEvent | Node; - -/** - * Tree note store - */ -export class NostrEventTree extends HookedNoteStore { - base: Node = new Map(); - #nodeIndex: Map = new Map(); - - add(ev: TaggedRawEvent | Array) { - throw new Error("Not implemented"); - } - - clear(): void { - throw new Error("Method not implemented."); - } - - takeSnapshot(): TaggedRawEvent { - throw new Error("Method not implemented."); - } -} - /** * A simple flat container of events with no duplicates */