Error if there is no book thumbnail
ittus opened this issue · comments
Describe the bug
If there is no book's thumbnail, UI will be broken
To Reproduce
Steps to reproduce the behavior:
- Go to https://liyasthomas.github.io/
- Go to BestSellers
- Click
Next
few time - See error
Expected behavior
It should display placeholder in case of there is no thumbnail
Desktop (please complete the following information):
- OS: Mac OS X
- Browser Chrome
- Version 77
Additional Context
For example, this volume doesn't have imageLinks
https://www.googleapis.com/books/v1/volumes/xAaRAQAACAAJ