HelpMe-Pls/bookshelf

Undefined path for "/book/:bookId"

HelpMe-Pls opened this issue · 1 comments

These following errors presented on this commit:

  1. "Discover" page infinitely loads on first render and only renders out the books when switching to "Finished books" then back to it. The displayed books then has their path to /book/undefined. This bug may stem from the implementation of the hooks from src/utils/books.ts and src/utils/list-items.ts
  2. "Reading list" page has the error: "Cannot read properties of undefined (reading 'substring')" which may related to the aforementioned bug.

Closed by this commit.