mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix(component): updated at in page meta (#2277)
This commit is contained in:
@@ -81,6 +81,9 @@ export const PageDetailEditor: React.FC<PageDetailEditorProps> = ({
|
||||
startTransition(() => {
|
||||
setEditor(editor);
|
||||
});
|
||||
page.workspace.setPageMeta(page.id, {
|
||||
updatedDate: Date.now(),
|
||||
});
|
||||
onLoad?.(page, editor);
|
||||
},
|
||||
[onLoad, setEditor]
|
||||
|
||||
Reference in New Issue
Block a user