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: async provider
DarkSky5e97efab3a62
diff --git a/libs/datasource/jwt/src/adapter/yjs/index.ts b/libs/datasource/jwt/src/adapter/yjs/index.tsindex ef7e481a42..ec201c2d84 100644--- a/libs/datasource/jwt/src/adapter/yjs/index.ts+++ b/libs/datasource/jwt/src/adapter/yjs/index.ts@@ -78,7 +78,7 @@ async function _initYjsDatabase(await _waitLoading(workspace);}const instance = _yjsDatabaseInstance.get(workspace);- // tTODO:odo temporarily handle this+ // TODO: temporarily handle thisif (instance &&(instance.userId === options.userId || options.userId === 'default')@@ -110,7 +110,7 @@ async function _initYjsDatabase(const emitState = (c: Connectivity) =>connListener.listeners?.(workspace, c);await Promise.all(- Object.entries(options.provider).flatMap(async ([, p]) => [+ Object.entries(options.provider).flatMap(([, p]) => [p({ awareness, doc, token, workspace, emitState }),p({awareness,