mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-26 10:45:57 +08:00
feat(y-indexeddb): remove id (#2810)
This commit is contained in:
@@ -82,10 +82,7 @@ const createAffineWebSocketProvider = (
|
||||
const createIndexedDBBackgroundProvider = (
|
||||
blockSuiteWorkspace: BlockSuiteWorkspace
|
||||
): LocalIndexedDBBackgroundProvider => {
|
||||
const indexeddbProvider = create(
|
||||
blockSuiteWorkspace.id,
|
||||
blockSuiteWorkspace.doc
|
||||
);
|
||||
const indexeddbProvider = create(blockSuiteWorkspace.doc);
|
||||
const callbacks = new CallbackSet();
|
||||
return {
|
||||
flavour: 'local-indexeddb-background',
|
||||
|
||||
Reference in New Issue
Block a user