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.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix: getBlocksuiteWorkspace remove check
alt015bdd2f31e37
diff --git a/packages/data-center/src/datacenter.ts b/packages/data-center/src/datacenter.tsindex 8d860ac18c..c15861223e 100644--- a/packages/data-center/src/datacenter.ts+++ b/packages/data-center/src/datacenter.ts@@ -122,8 +122,8 @@ export class DataCenter {* @param {string} workspaceId workspace id*/private _getBlocksuiteWorkspace(workspaceId: string) {- const workspaceInfo = this._workspaceUnitCollection.find(workspaceId);- assert(workspaceInfo, 'Workspace not found');+ // const workspaceInfo = this._workspaceUnitCollection.find(workspaceId);+ // assert(workspaceInfo, 'Workspace not found');return (// this._workspaceInstances.get(workspaceId) ||createBlocksuiteWorkspace(workspaceId)