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(core): wrong display of 404 page (#7711)
EYHN05448f50afa5
diff --git a/packages/frontend/core/src/pages/workspace/detail-page/detail-page.tsx b/packages/frontend/core/src/pages/workspace/detail-page/detail-page.tsxindex 0352522ee9..69de5bde11 100644--- a/packages/frontend/core/src/pages/workspace/detail-page/detail-page.tsx+++ b/packages/frontend/core/src/pages/workspace/detail-page/detail-page.tsx@@ -307,7 +307,7 @@ export const DetailPage = ({ pageId }: { pageId: string }): ReactElement => {const docsService = useService(DocsService);const docRecordList = docsService.list;const docListReady = useLiveData(docRecordList.isReady$);- const docRecord = docRecordList.doc$(pageId).value;+ const docRecord = useLiveData(docRecordList.doc$(pageId));const [doc, setDoc] = useState<Doc | null>(null);