fix: websocket content error

This commit is contained in:
DiamondThree
2022-12-23 19:30:25 +08:00
parent 2acc94cf2c
commit c3c6a710e3
@@ -34,7 +34,7 @@ const DynamicBlocksuite = ({
new Promise(async resolve => {
const workspace = new StoreWorkspace({
room: workspaceId,
providers: [],
providers: [IndexedDBDocProvider],
}).register(BlockSchema);
if (websocket && token.refresh) {
// FIXME: if add websocket provider, the first page will be blank