mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-16 09:36:17 +08:00
fix: infinite loading
This commit is contained in:
@@ -80,7 +80,7 @@ const DynamicBlocksuite = ({
|
||||
});
|
||||
});
|
||||
if (indexDBProvider) {
|
||||
(indexDBProvider as IndexedDBDocProvider).on('synced', async () => {
|
||||
(indexDBProvider as IndexedDBDocProvider).whenSynced.then(() => {
|
||||
resolve(workspace);
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user