Skip to content

Commit

Permalink
fix(core): wrong display of 404 page (#7711)
Browse files Browse the repository at this point in the history
  • Loading branch information
EYHN committed Aug 2, 2024
1 parent e54be7d commit 05448f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 05448f5

Please sign in to comment.