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: lint issue (#1760)
Himself6591c32b671560
diff --git a/apps/web/src/components/blocksuite/header/header-right-items/EditorOptionMenu.tsx b/apps/web/src/components/blocksuite/header/header-right-items/EditorOptionMenu.tsxindex a538fc83d6..9f94b1682f 100644--- a/apps/web/src/components/blocksuite/header/header-right-items/EditorOptionMenu.tsx+++ b/apps/web/src/components/blocksuite/header/header-right-items/EditorOptionMenu.tsx@@ -39,7 +39,7 @@ export const EditorOptionMenu = () => {const pageMeta = usePageMeta(blockSuiteWorkspace).find(meta => meta.id === pageId);- const allMetas = usePageMeta(workspace?.blockSuiteWorkspace ?? null);+ const allMetas = usePageMeta(blockSuiteWorkspace);const [record, set] = useAtom(workspacePreferredModeAtom);const mode = record[pageId] ?? 'page';assertExists(pageMeta);@@ -83,12 +83,12 @@ export const EditorOptionMenu = () => {<MoveTometas={allMetas}currentMeta={pageMeta}- blockSuiteWorkspace={workspace?.blockSuiteWorkspace}+ blockSuiteWorkspace={blockSuiteWorkspace}/><MoveToTrashtestId="editor-option-menu-delete"currentMeta={pageMeta}- blockSuiteWorkspace={workspace?.blockSuiteWorkspace}+ blockSuiteWorkspace={blockSuiteWorkspace}/></>);