mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 21:34:06 -06:00
prettier fix
This commit is contained in:
parent
0db610aac9
commit
850dcffd00
@ -71,9 +71,9 @@ export default ((opts?: Partial<FolderContentOptions>) => {
|
|||||||
if (child.data?.dates) {
|
if (child.data?.dates) {
|
||||||
// compare all dates and assign to maybeDates if its more recent or its not set
|
// compare all dates and assign to maybeDates if its more recent or its not set
|
||||||
if (!maybeDates) {
|
if (!maybeDates) {
|
||||||
const childDates = child.data.dates;
|
const childDates = child.data.dates
|
||||||
maybeDates = {
|
maybeDates = {
|
||||||
...childDates
|
...childDates,
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (child.data.dates.created > maybeDates.created) {
|
if (child.data.dates.created > maybeDates.created) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user