mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-27 02:42:25 +08:00
fix(workspace): should avoid sending providers' update back (#3384)
This commit is contained in:
@@ -114,7 +114,7 @@ export const createIndexedDBProvider = (
|
||||
return {
|
||||
connect: () => {
|
||||
datasource = createDatasource({ dbName, mergeCount });
|
||||
provider = createLazyProvider(doc, datasource);
|
||||
provider = createLazyProvider(doc, datasource, { origin: 'idb' });
|
||||
provider.connect();
|
||||
},
|
||||
disconnect: () => {
|
||||
|
||||
Reference in New Issue
Block a user