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: remove preloading page (#2873)
Alex Yang4fad21fe5cd5
diff --git a/packages/env/src/blocksuite/index.ts b/packages/env/src/blocksuite/index.tsindex d2b136d15a..b2ffd7c02c 100644--- a/packages/env/src/blocksuite/index.ts+++ b/packages/env/src/blocksuite/index.ts@@ -1,10 +1,12 @@import type { Page } from '@blocksuite/store';export async function initPageWithPreloading(page: Page) {- const workspace = page.workspace;- const { data } = await import('@affine/templates/preloading.json');- await page.waitForLoaded();- await workspace.importPageSnapshot(data['space:hello-world'], page.id);+ return initEmptyPage(page);+ // fixme(Mirone): preloading page has broken+ // const workspace = page.workspace;+ // const { data } = await import('@affine/templates/preloading.json');+ // await page.waitForLoaded();+ // await workspace.importPageSnapshot(data['space:hello-world'], page.id);}export async function initEmptyPage(page: Page) {