mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
fix(Search): use catalog prop for MetaRow
This commit is contained in:
parent
28217b0f8e
commit
08631ce914
1 changed files with 3 additions and 7 deletions
|
|
@ -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}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
|
@ -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}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
|
@ -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}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue