Skip to content

Commit

Permalink
fix(Search): use catalog prop for MetaRow
Browse files Browse the repository at this point in the history
  • Loading branch information
tymmesyde committed Jan 4, 2024
1 parent 28217b0 commit 08631ce
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/routes/Search/Search.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,8 @@ const Search = ({ queryParams }) => {
<MetaRow
key={index}
className={classnames(styles['search-row'], styles[`search-row-${catalog.content.content[0].posterShape}`], 'animation-fade-in')}
title={catalog.title}
items={catalog.content.content}
catalog={catalog}
itemComponent={MetaItem}
deepLinks={catalog.deepLinks}
/>
);
}
Expand All @@ -102,9 +100,8 @@ const Search = ({ queryParams }) => {
<MetaRow
key={index}
className={classnames(styles['search-row'], 'animation-fade-in')}
title={catalog.title}
catalog={catalog}
message={catalog.content.content}
deepLinks={catalog.deepLinks}
/>
);
}
Expand All @@ -113,8 +110,7 @@ const Search = ({ queryParams }) => {
<MetaRow.Placeholder
key={index}
className={classnames(styles['search-row'], styles['search-row-poster'], 'animation-fade-in')}
title={catalog.title}
deepLinks={catalog.deepLinks}
catalog={catalog}
/>
);
}
Expand Down

0 comments on commit 08631ce

Please sign in to comment.