-
My Watchlist
- {movies.length === 0 && (
+
+
+
{heading}
+
+ {showFilters && (
+
+
+
+ )}
+
+ {filteredMovies.length === 0 && (
No movies found
)}
-
- {movies
- .sort((a, b) => a.title.localeCompare(b.title))
- .map((movie) => (
+ {filteredMovies.length > 0 && (
+
+ {sortedMovies.map((movie) => (
{
favorite={movie.favorite === 1}
/>
))}
-
+
+ )}