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(core): throttle sync progress update (#10278)
EYHN53cada4640f1
diff --git a/packages/frontend/core/src/components/workspace-selector/workspace-card/index.tsx b/packages/frontend/core/src/components/workspace-selector/workspace-card/index.tsxindex 3613f8112b..f64b265169 100644--- a/packages/frontend/core/src/components/workspace-selector/workspace-card/index.tsx+++ b/packages/frontend/core/src/components/workspace-selector/workspace-card/index.tsx@@ -87,7 +87,7 @@ const useSyncEngineSyncProgress = (meta: WorkspaceMetadata) => {const engineState = useLiveData(useMemo(() => {return workspace- ? LiveData.from(workspace.engine.doc.state$, null).throttleTime(100)+ ? LiveData.from(workspace.engine.doc.state$, null).throttleTime(500): null;}, [workspace]));