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: remove unused log (#1305)

Himself658ce4fa85f780
diff --git a/apps/web/src/hooks/use-workspaces.ts b/apps/web/src/hooks/use-workspaces.ts
index 64c0cc959a..131d290cb7 100644
--- a/apps/web/src/hooks/use-workspaces.ts
+++ b/apps/web/src/hooks/use-workspaces.ts
@@ -93,7 +93,6 @@ export async function refreshDataCenter(signal?: AbortSignal) {
break;
}
const oldData = dataCenter.workspaces;
- oldData.forEach(d => console.log(d.blockSuiteWorkspace.doc.toJSON()));
await plugin.prefetchData(dataCenter, signal);
const newData = dataCenter.workspaces;
if (!Object.is(oldData, newData)) {