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(electron): remove blocksuite dep
forehalo126d576c3e65
diff --git a/packages/frontend/apps/electron/src/helper/main-rpc.ts b/packages/frontend/apps/electron/src/helper/main-rpc.tsindex 419970f296..59be05958f 100644--- a/packages/frontend/apps/electron/src/helper/main-rpc.ts+++ b/packages/frontend/apps/electron/src/helper/main-rpc.ts@@ -1,4 +1,3 @@-import { assertExists } from '@blocksuite/affine/global/utils';import { AsyncCall } from 'async-call-rpc';import type { HelperToMain, MainToHelper } from '../shared/type';@@ -6,7 +5,9 @@ import { exposed } from './provide';const helperToMainServer: HelperToMain = {getMeta: () => {- assertExists(exposed);+ if (!exposed) {+ throw new Error('Helper is not initialized correctly');+ }return exposed;},};