Closed Purple-Hacker closed 2 years ago
This looks good, however rather than only implementing the message on the search page, could we try adding it to the PostList component instead?
Tested it, and I get "Cannot read properties of undefined (reading 'length')" whenever visiting the search page without a query. Perhaps try adding a posts && to it.
Added 'content not found' message when no posts are found.