chore: restore data to inform relationships

This commit is contained in:
Cory Dransfeldt 2024-08-26 11:46:59 -07:00
parent 1eeaf860bb
commit 0a9e852b03
No known key found for this signature in database
6 changed files with 11 additions and 9 deletions

View file

@ -123,6 +123,6 @@ const sortBooksByYear = (books) => {
export default async function () {
const books = await fetchAllBooks()
const processedBooks = processBooks(books).filter(book => book['status'] !== 'want to read')
const processedBooks = processBooks(books)
return { all: processedBooks, years: sortBooksByYear(processedBooks) }
}