mitchiemt11 / trailers-trove

Trailers Trove: A simple React App to access latest and most exciting movie trailers
https://trailers-trove.vercel.app
MIT License
4 stars 6 forks source link

Handle search filter when no results are found #20

Closed Mogoww closed 1 year ago

Mogoww commented 1 year ago

Pull Request Title: ✨ Handle search filter when no results are found ✨

Description:

This Pull Request proposes a code modification to handle empty search results in a more user-friendly way. When the search yields no results, instead of displaying an empty list, the text "Oops!, No results found" is now displayed in the center of the screen to inform the user of the absence of results. πŸš€

Details of Changes:

Tests:

Mogoww commented 1 year ago

@mitchiemt11 Please review this PR when you have a chance πŸ™‚

mitchiemt11 commented 1 year ago

@Mogoww PR is correct. I'm merging it now. Would you mind if I assign this to you --->> https://github.com/mitchiemt11/trailers-trove/issues/24? It's kinda related to this one.