From 83e931c27f65cf5a73bd35afce7413d1e9965353 Mon Sep 17 00:00:00 2001 From: Norbert Maciaszek Date: Tue, 12 Aug 2025 00:00:40 +0200 Subject: [PATCH] Refactor MovieCard props in SearchList: streamline prop passing by spreading result object and joining genre_ids for improved readability and maintainability. --- src/components/molecules/SearchMovies/index.tsx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/components/molecules/SearchMovies/index.tsx b/src/components/molecules/SearchMovies/index.tsx index 8ef9b03..7adc89d 100644 --- a/src/components/molecules/SearchMovies/index.tsx +++ b/src/components/molecules/SearchMovies/index.tsx @@ -47,14 +47,10 @@ export const SearchList: FC = ({ query }) => {
{results?.map((result) => (