refactor(core): remove the unused compareDate field from DocDisplayIconOptions (#10095)

This commit is contained in:
L-Sun
2025-02-11 13:26:43 +00:00
parent ba52abe50f
commit 401ce70153
6 changed files with 5 additions and 18 deletions
@@ -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 (