diff --git a/packages/automerge-repo/src/Repo.ts b/packages/automerge-repo/src/Repo.ts index cc192e8e5..85399f3ec 100644 --- a/packages/automerge-repo/src/Repo.ts +++ b/packages/automerge-repo/src/Repo.ts @@ -233,7 +233,7 @@ export class Repo extends EventEmitter { delete this.handles[documentId] // remove it from storage - void this.storageSubsystem?.remove(documentId) + void this.storageSubsystem?.removeDoc(documentId) // TODO Pass the delete on to the network // synchronizer.removeDocument(documentId)