feat: dry up + normalize now page
This commit is contained in:
parent
022ce82f81
commit
6dda493d7b
13 changed files with 86 additions and 136 deletions
|
@ -25,6 +25,7 @@ module.exports = async function () {
|
|||
isbn: book['isbn'],
|
||||
description: book['book_description'],
|
||||
dateAdded: book['user_date_added'],
|
||||
type: 'book',
|
||||
})
|
||||
})
|
||||
const books = data.splice(0, 6)
|
||||
|
|
Reference in a new issue