fix: properly generate 2020 book page
This commit is contained in:
parent
54fced00e1
commit
98df43710d
3 changed files with 4 additions and 4 deletions
|
@ -78,7 +78,7 @@ const sortBooksByYear = (books) => {
|
|||
years[year]['data'].push(book)
|
||||
}
|
||||
})
|
||||
return Object.values(years).filter(year => year.value > 2020)
|
||||
return Object.values(years).filter(year => year.value > 2019)
|
||||
}
|
||||
|
||||
export default async function () {
|
||||
|
|
Reference in a new issue