refactor: use suspense in AppDefender (#1020)

This commit is contained in:
Himself65
2023-02-15 02:51:44 -06:00
committed by GitHub
parent eb1d4fe1f6
commit 34a3a99d62
6 changed files with 44 additions and 47 deletions
+1
View File
@@ -11,6 +11,7 @@ export const createBlocksuiteWorkspace = (
return new BlocksuiteWorkspace({
room: workspaceId,
defaultFlags: { enable_slash_menu: true },
isSSR: typeof window === 'undefined',
...workspaceOption,
})
.register(builtInSchemas)