Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: workspace unit type

alt08e091a37e2c8
diff --git a/packages/data-center/src/workspace-unit.ts b/packages/data-center/src/workspace-unit.ts
index 4069b4200a..2fc4935d51 100644
--- a/packages/data-center/src/workspace-unit.ts
+++ b/packages/data-center/src/workspace-unit.ts
@@ -13,7 +13,7 @@ export interface WorkspaceUnitCtorParams {
provider: string;
syncMode: SyncMode;
- blocksuiteWorkspace?: BlocksuiteWorkspace;
+ blocksuiteWorkspace?: BlocksuiteWorkspace | null;
}
export type UpdateWorkspaceUnitParams = Partial<