mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-24 22:09:08 +08:00
refactor(core): remove the unused compareDate field from DocDisplayIconOptions (#10095)
This commit is contained in:
+1
-3
@@ -61,9 +61,7 @@ const PageItem = ({
|
||||
}: PageItemProps) => {
|
||||
const i18n = useI18n();
|
||||
const docDisplayMetaService = useService(DocDisplayMetaService);
|
||||
const Icon = useLiveData(
|
||||
docDisplayMetaService.icon$(docId, { compareDate: new Date() })
|
||||
);
|
||||
const Icon = useLiveData(docDisplayMetaService.icon$(docId));
|
||||
const title = useLiveData(docDisplayMetaService.title$(docId));
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user