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: ci
lawvsbd15d2d674de
diff --git a/libs/components/editor-core/src/contexts.tsx b/libs/components/editor-core/src/Contexts.tsxsimilarity index 100%rename from libs/components/editor-core/src/contexts.tsxrename to libs/components/editor-core/src/Contexts.tsxdiff --git a/libs/components/editor-core/src/hooks.ts b/libs/components/editor-core/src/hooks.tsindex 948cc4a156..f0af8a0f87 100644--- a/libs/components/editor-core/src/hooks.ts+++ b/libs/components/editor-core/src/hooks.ts@@ -1,3 +1,6 @@+import { noop, Point } from '@toeverything/utils';+import { useCallback, useEffect, useRef, useState } from 'react';+import { useEditor } from './Contexts';import {AsyncBlock,BlockEditor,@@ -5,9 +8,6 @@ import {SelectionInfo,SelectionSettingsMap,} from './editor';-import { noop, Point } from '@toeverything/utils';-import { useCallback, useContext, useEffect, useRef, useState } from 'react';-import { useEditor } from './Contexts';function useRequestReRender() {const [, setUpdateCounter] = useState(0);