mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-08-18 13:36:47 +00:00
default value for posterShape dropped from MetaItem
This commit is contained in:
parent
7ab5d05e90
commit
2b7ea44ca5
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ const ICON_FOR_TYPE = Object.assign(Object.create(null), {
|
|||
'other': 'ic_movies'
|
||||
});
|
||||
|
||||
const MetaItem = React.memo(({ className, id, type, name, posterShape = 'square', poster, title, subtitle, progress, playIcon, menuOptions, onSelect, menuOptionOnSelect }) => {
|
||||
const MetaItem = React.memo(({ className, id, type, name, posterShape, poster, title, subtitle, progress, playIcon, menuOptions, onSelect, menuOptionOnSelect }) => {
|
||||
const [menuOpen, openMenu, closeMenu, toggleMenu] = useBinaryState(false);
|
||||
const metaItemOnClick = React.useCallback((event) => {
|
||||
if (!event.nativeEvent.selectItemPrevented && typeof onSelect === 'function') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue