From 850dcffd00461cdc3381a494b3e3d7081a9c98be Mon Sep 17 00:00:00 2001 From: Yes365 Date: Sun, 16 Mar 2025 16:53:03 +0800 Subject: [PATCH] prettier fix --- quartz/components/pages/FolderContent.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quartz/components/pages/FolderContent.tsx b/quartz/components/pages/FolderContent.tsx index 204b8de14..567b05ad4 100644 --- a/quartz/components/pages/FolderContent.tsx +++ b/quartz/components/pages/FolderContent.tsx @@ -71,9 +71,9 @@ export default ((opts?: Partial) => { if (child.data?.dates) { // compare all dates and assign to maybeDates if its more recent or its not set if (!maybeDates) { - const childDates = child.data.dates; + const childDates = child.data.dates maybeDates = { - ...childDates + ...childDates, } } else { if (child.data.dates.created > maybeDates.created) {