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: preloading issues caused by reference change in template (#4009)
Mirone0d70d3727da0
diff --git a/packages/infra/src/blocksuite/index.ts b/packages/infra/src/blocksuite/index.tsindex f422f207a6..f493739431 100644--- a/packages/infra/src/blocksuite/index.ts+++ b/packages/infra/src/blocksuite/index.ts@@ -190,7 +190,7 @@ export async function buildShowcaseWorkspace(await Promise.all(data.map(async ([id, promise]) => {const { default: template } = await promise;- await workspace.importPageSnapshot(template, id);+ await workspace.importPageSnapshot(structuredClone(template), id);workspace.setPageMeta(id, pageMetas[id]);}));